IBM Support

JR39551: CMVC 209745 - ADDRESS INFINITE RECURSIVE LOOP ISSUE WITH COMPLEX BUNDLE ASSOCIATIONS IN SALES CENTER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ShowElectronicCatalog.populateSearch can go into an infinite
    recursive loop if complex circular merchandising associations
    are defined in WebSphere Commerce catalog like, ProductA has
    bundleA & ProductB as association, ProductB has BundleA as
    association and  ProductA and ProductB are part of Bundle A.
    A call to ShowElectronicCatalog.populateSearchResult() will
    result in infinite recursion with a stack trace containing the
    following when viewing an order containing ProductB :
    
    at
    com.ibm.commerce.telesales.messaging.bodreply.ShowElectronicCata
    log.populateSearchResult(ShowElectronicCatalog.java:2317)
     at
    com.ibm.commerce.telesales.messaging.bodreply.ShowElectronicCata
    log.populateSearchResult(ShowElectronicCatalog.java:1958)
     at
    com.ibm.commerce.telesales.messaging.bodreply.ShowElectronicCata
    log.populateSearchResult(ShowElectronicCatalog.java:3992)
     at
    com.ibm.commerce.telesales.messaging.bodreply.ShowElectronicCata
    log.populateSearchResult(ShowElectronicCatalog.java:2317)
     at
    com.ibm.commerce.telesales.messaging.bodreply.ShowElectronicCata
    log.populateSearchResult(ShowElectronicCatalog.java:1958)
     at
    com.ibm.commerce.telesales.messaging.bodreply.ShowElectronicCata
    log.populateSearchResult(ShowElectronicCatalog.java:3992)
     at
    com.ibm.commerce.telesales.messaging.bodreply.ShowElectronicCata
    log.populateSearchResult(ShowElectronicCatalog.java:2317)
    

Local fix

  • As a workaround to this issue,  WebSphere Commerce users can
    remove the circular merchandising association between a
    product/bundle/SKU/kit. This removes the recursive loop.
    

Problem summary

  • USERS AFFECTED:
    All WebSphere Commerce Sales Center users on V6 and V7 with a
    catalog containing circular merchandising associations.
    
    PROBLEM ABSTRACT:
    Infinite recursive loop in
    ShowElectronicCatalog.populateSearchResult() when WebSphere
    Commerce catalog contains multilevel circular merchandising
    associations
    
    BUSINESS IMPACT:
    Recursive looping can crash the application
    
    RECOMMENDATION:
    

Problem conclusion

  • Downloading and installing the interim fix for APAR JR39551
    resolves the issue. The recursive logic in
    ShowElectronicCatalog() has been updated to properly handle
    merchandising association loops.
    -------------------------------------------------------------
    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

    JR39551

  • 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

    2011-05-10

  • Closed date

    2011-07-26

  • Last modified date

    2011-07-26

  • 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:
26 July 2011