IBM Support

JR53709: Rest LoginIdentity not update BaseContext if previous thread doesnt flush cache

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When passing guest user tokens to the LoginIdentity rest
    service, the baseContext is not updated with the registered
    user.  This can happen when
    BusinessContextServiceimpl.flushCache has not been called by
    previous request on the same thread.
    

Local fix

Problem summary

  • USERS AFFECTED:
    Mobile shoppers on Websphere Commerce V7 Feature Pack 7 4 or
    later, where REST API was introduced.
    
    PROBLEM ABSTRACT:
    Rest LoginIdentity not update BaseContext if previous thread
    doesnt flush cache
    
    BUSINESS IMPACT:
    The registered user can not login successfully by loginidentity
    rest service from guest user.
    
    RECOMMENDATION:
    

Problem conclusion

  • Call the RequestContext.reset method to reset the request type
    at the beginning of a rest request.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR53709

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-06-26

  • Closed date

    2015-12-13

  • Last modified date

    2015-12-21

  • 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:
11 December 2021