IBM Support

JR49088: CMVC 233978 - Invalidation of the MemberGroupsCacheCmdImpl cacheable command after transaction commits.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If custom code causes a user to register and be added to a
    member group in the same transaction, the invalidation of the
    MemberGroupsCacheCmdImpl cacheable command cache occurs before
    the curent transaction commits.  If there is another transaction
     that is using the cache before the transaction commits, then it
     will see the previous data in the database and re-create the
    cache with old data.
    Example of scenario:
    User adds items to cart, then user registers and is added to a
    group that should see specific espots.  The cache is not
    re-created with the
    new data thus the user does not see the specific espots.  They
    must clear the cache or logout/login to see the espots.
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce version 7 customers who have custom code that
    changes group membership and uses the previously cached results
    prior to committing the transaction, to display specific data to
    customer (ie , promotions, espots,etc).
    
    PROBLEM ABSTRACT:
    Invalidation of the MemberGroupsCacheCmdImpl cacheable command
    after transaction commits.
    
    BUSINESS IMPACT:
    Prevent users from seeing specific data associated with group to
    which they were added.
    
    RECOMMENDATION:
    

Problem conclusion

  • The AddMemberGroupMemberCmdImpl and
    DeleteMemberGroupMemberCmdImpl now issue an additional
    invalidation id to the baseCache after the transaction they are
    running in commits.  The invalidation id has the form
    "DC_userId:nnnnn", where "nnnnn" is the userId returned by the
    getMemberId method of the command.  This additional invalidation
     id is a duplicate of one specified in the
    InitializationServlet.war/WEB-INF/cachespec.xml file, which is
    issued before the transaction commits.
    
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR49088

  • 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

    2014-01-19

  • Closed date

    2014-05-02

  • Last modified date

    2014-05-02

  • 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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 May 2014