IBM Support

JR55114: Command-based REST service cannot update context in the database

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a REST API is a wrapper of a command that includes a
    context update, such as the 'switchContract' or 'switchTo' REST
    service,
    the update to the context is not persisted to the database after
     execution.
    
    The update is not persisted because the cache is flushed after
    executing the command, which removes all token information from
    the cache.
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce Version 8 users who execute command-based
    REST services.
    
    PROBLEM ABSTRACT:
    Command-based REST service cannot update context in the database
    
    BUSINESS IMPACT:
    Using command-based REST services does not update business
    context.
    
    RECOMMENDATION:
    

Problem conclusion

  • Updated code so that the cache is not flushed after the command
    is executed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR55114

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-01-15

  • Closed date

    2016-03-01

  • Last modified date

    2016-03-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
12 December 2021