IBM Support

SE49856: CMVC 215676 - prevent a failure to save due to product addition for a linked category in sales catalog tooling.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A failure occurs when adding a product to a linked category in a
    sales catalog.
    
    Procedures/Steps to reproduce problem:
    Use 2 different sales catalogs in Management Center.
    Link a category from one sales catalog to the other.
    Add a product to the linked category and attempt to save.
    
    Observed Results:
    Save fails, error thrown:
    
    [11/2/11 8:28:44:389 EDT] 000000a9 LocalExceptio
    E   CNTR0020E: EJB threw an unexpected (non-declared) exception
    during invocation of method "changeCatalogEntry" on bean
    "BeanId(WC_lmweb_s#Catalog-Server.jar#Catalog, null)".
    Exception data:
    com.ibm.commerce.foundation.server.services.dataaccess.bom.excep
    tion.BusinessObjectMediatorException:
    The category link synchronization could not be performed due to
    an unknown exception.
    
    Cause:
    Improper query entry in the following query template:
    wc-query-utilities.tpl
    The query entry can be found under the following sql statement:
    IBM_Insert_CreateCatalogGroupToCatalogEntryRelationsForSKUs.
    

Local fix

  • Improper query entry in the following query template:
    wc-query-utilities.tpl
    The query entry can be found under the following sql statement:
    IBM_Insert_CreateCatalogGroupToCatalogEntryRelationsForSKUs.
    The third sql= statement block has to be changed by replacing
    this statement block with the second sql= statement block.
    

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users of v7.0 running the iSeries OS
    
    PROBLEM ABSTRACT:
    Adding product to linked sales category throws error for
    iSeries.
    
    BUSINESS IMPACT:
    Linked categories cannot be updated or changed.
    
    RECOMMENDATION:
    

Problem conclusion

  • The following file is updated to fix the incorrect SQL statement
    to cast the catalog id and catgroup id as BIGINT values:
    /wc.ear/xml/config/com.ibm.commerce.catalog/wc-query-utilities.t
    pl
    -------------------------------------------------------------
    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

    SE49856

  • Reported component name

    WC BUS EDIT AS4

  • Reported component ID

    5724I3803

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-11-07

  • Closed date

    2012-01-13

  • Last modified date

    2012-07-04

  • 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 EDIT AS4

  • Fixed component ID

    5724I3803

Applicable component levels

  • R701 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":"701","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 July 2012