IBM Support

JR51821: HierarchyHelper. getCategoryName(String, SearchCriteria) does no t take contract as cache key.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • MY_FIND_CATEGORY_NAME_BY_CATALOGID_AND_LANGUAGEID_CACHE in the
    HierarchyHelper. getCategoryName(String, SearchCriteria) does
    not take contract id in the cache key.
    When doing a sub search using the
    IBM_ComposeShallowSubCategoriesByCategoryId profile, the
    contract id was set to null, and therefore, the default contract
     was used instead, but later because entitlement check is
    enabled for B2B, the a contract validation fails, as shopper is
    not entitled to work under default contact.
    

Local fix

Problem summary

  • HierarchyHelper. getCategoryName(String, SearchCriteria) does
    not take contract as cache key.
    

Problem conclusion

  • MY_FIND_CATEGORY_NAME_BY_CATALOGID_AND_LANGUAGEID_CACHE in the
    HierarchyHelper. getCategoryName(String, SearchCriteria) does
    not take contract id in the cache key.
    When doing a sub search using the
    IBM_ComposeShallowSubCategoriesByCategoryId profile, the
    contract id was set to null, and therefore, the default contract
    was used instead, but later because entitlement check is enabled
    for B2B, the a contract validation fails, as shopper is not
    entitled to work under default contact.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR51821

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function

  • Submitted date

    2014-11-17

  • Closed date

    2015-08-25

  • Last modified date

    2015-08-25

  • 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:
25 August 2015