IBM Support

JR52868: Updating the existing description override for a catalog entry using Management Center might fail and throw an exception.

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

  • Updating or deleting an esite override name or description might
    fail and generate an exception in the log similar to the
    following:
    
    [12/23/14 19:33:39:127 EST] 0000002c CommerceSrvr  E
    com.ibm.commerce.accesscontrol.AccManager isAllowed CMN0409E:
    The following error occurred during processing:
    "java.lang.NullPointerException". java.lang.NullPointerException
            at
    com.ibm.commerce.catalog.facade.server.authorization.CatalogDesc
    riptionOverrideTypeProtectableProxy.resolve(CatalogDescriptionOv
    errideTypeProtectableProxy.java:230)
            at
    com.ibm.commerce.catalog.facade.server.authorization.CatalogDesc
    riptionOverrideTypeProtectableProxy.getStoreIdOfOverride(Catalog
    DescriptionOverrideTypeProtectableProxy.java:176)
            at
    com.ibm.commerce.catalog.facade.server.authorization.CatalogDesc
    riptionOverrideTypeProtectableProxy.getOwner(CatalogDescriptionO
    verrideTypeProtectableProxy.java:104)
            at
    com.ibm.commerce.accesscontrol.policymanager.PolicyManagerImpl.i
    sExecutionAllowed(PolicyManagerImpl.java:1352)
            at
    com.ibm.commerce.accesscontrol.policymanager.PolicyManagerImpl.i
    sAllowed(PolicyManagerImpl.java:1210)
            at
    com.ibm.commerce.accesscontrol.AccManager.isAllowed(AccManager.j
    ava:743)
            at
    com.ibm.commerce.accesscontrol.AccManager.isAllowed(AccManager.j
    ava:809)
            at
    com.ibm.commerce.foundation.internal.server.services.authorizati
    on.impl.PolicyManagerAuthorizationServiceImpl.canPerformActionEx
    pression(PolicyManagerAuthorizationServiceImpl.java:371)
    
    ... (stack trace truncated) ...
    

Local fix

Problem summary

  • USERS AFFECTED:
    Business users using extended site description override in the
    management center.
    
    PROBLEM ABSTRACT:
    Updating the existing description override for a catalog entry
    using Management Center might fail and throw an exception.
    
    BUSINESS IMPACT:
    An error is seen in the log file and the name or description
    will not be updated correctly.
    
    RECOMMENDATION:
    

Problem conclusion

  • The BOD request sent by CMC to update the existing description
    override does not contain the description override identifier.
    The protectable proxy assumes that the description override
    identifier always exists in this scenario and tries to set the
    unique ID in the description override identifier and this causes
     exception being logged in the log file.
    
    The code was changed to check whether the identifier is null.
    If it is null, initialize the identifier noun part then set the
    unique ID.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR52868

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / Pervasive

  • Submitted date

    2015-03-18

  • Closed date

    2015-06-21

  • Last modified date

    2015-06-29

  • 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:
29 June 2015