APAR status
Closed as program error.
Error description
When using Commerce Rest service to get inventory availability with the URL /wcs/resources/store/{storeId}/inventoryavailability/{productIds }, it will try to check the inventory in both online store and physical store with the same storeId. In case there is not a physical store with that storeId, it will throw an exception like following and can not return the inventory status for online store : Caused by: com.ibm.commerce.inventory.facade.server.exception.InventoryAppl icationException: No inventory configuration is found for the catalog entry 39478 and physical store 10051. at com.ibm.commerce.inventory.facade.server.commands.ComposeDOMInve ntoryAvailabilityCmdImpl.readInventoryConfigurationByCatentryIdA ndPhysicalStoreId(ComposeDOMInventoryAvailabilityCmdImpl.java:84 6) at com.ibm.commerce.inventory.facade.server.commands.ComposeDOMInve ntoryAvailabilityForDKCmdImpl.composeNouns(ComposeDOMInventoryAv ailabilityForDKCmdImpl.java:401) at com.ibm.commerce.inventory.facade.server.commands.ComposeDOMInve ntoryAvailabilityForDKCmdImpl.execute(ComposeDOMInventoryAvailab ilityForDKCmdImpl.java:655)
Local fix
Problem summary
USERS AFFECTED: WebSphere Commerce users on v7.0 who use Rest service to get inventory availability for online store. PROBLEM ABSTRACT: Allow InventoryAvailability REST services to get inventory availability for online store only. BUSINESS IMPACT: User is unable able to get inventory availability for online store separately. RECOMMENDATION:
Problem conclusion
With the ifix, the request to Rest service with URL /wcs/resources/store/{storeId}/inventoryavailability/{productIds } will trigger an inventory check for online store only, as it was shown in the information center: http://pic.dhe.ibm.com/infocenter/wchelp/v7r0m0/index.jsp?topic =%2Fcom.ibm.commerce.starterstores.doc%2Frefs%2FrestSampleData%2 Frsm_inventory_getInventoryAvailabilityByProductId_sample.htm ------------------------------------------------------------- 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
JR46584
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
2013-05-08
Closed date
2013-06-17
Last modified date
2013-06-17
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:
17 June 2013