IBM Support

JR51086: Incorrect access profile for check external inventory

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • With customized storefront to use Sync Inventory to validate
    inventory availability, when adding items to the cart custom
    code sends inventory availability requests of the orderitems to
    OOB custom inventory backend, as this OOB command uses admin
    access profile it runs into following exception:
    
     [7/25/14 11:58:55:983 BST] 00000064 BusinessObjec E   You are
    not authorized to execute IBM_Admin_Summary.
    com.ibm.commerce.foundation.internal.server.services.authorizati
    on.AuthorizationException: You are not authorized to execute
    IBM_Admin_Summary.
    

Local fix

  • WC/xml/config/com.ibm.commerce.inventory-fep
    
     Update wc-component.xml with following:
    
     <_config:configgrouping name="SyncInventoryAvailability">
     <_config:property name="accessprofile_getCatentryByPartNumber"
     value="IBM_Store_CatalogEntryAttributes" />
    

Problem summary

  • USERS AFFECTED:
     Users with APAR JR45188 installed.
    
     PROBLEM ABSTRACT:
     Incorrect access profile for check external inventory
    
     BUSINESS IMPACT:
     Note able to SyncInventoryAvailability for inventory
    availability check when adding item to the cart. Storefront
    users are affected.
    
     RECOMMENDATION:
    

Problem conclusion

  • OOB ResolveIdHelper was modified. A new method
    "getCatentryIdsByPartNumbersForStore" is provided, which by
    default uses access profile "IBM_Store_CatalogEntryAttributes",
    so by calling this method, customer won't have access control
    issue.
    
     -------------------------------------------------------------
     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

    JR51086

  • 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-08-21

  • Closed date

    2014-09-29

  • Last modified date

    2014-09-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"},"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