IBM Support

JR50349: OrderDataBean does not fetch the correct orders based on the user's current store

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you have separate, independent Extended Sites which share the
    same users, and a user attempts to access their current pending
     order, the pending order from a different Extended Site may be
    fetched.
    

Local fix

  • Customize the ResolveOrdersCmd class similar to the following:
    
     import com.ibm.commerce.exception.ECException;
     import com.ibm.commerce.order.utils.ResolveOrdersCmdImpl;
    
     public class MyResolveOrdersCmdImpl extends
    ResolveOrdersCmdImpl {
    
         public void performExecute() throws ECException {
             if (this._storeId==null){
                 this._storeId =
    this.getCommandContext().getStoreId();
             }
             super.performExecute();
         }
     }
    

Problem summary

  • USERS AFFECTED:
     WebSphere Commerce users on v7.0 using multiple, independent
    Extended Sites which share users
    
     PROBLEM ABSTRACT:
     OrderDataBean does not fetch the correct orders based on the
    user's current store
    
     BUSINESS IMPACT:
     Customers may not be able to access the correct pending order
    
     RECOMMENDATION:
    

Problem conclusion

  • With this fix, OrderDataBean will set the storeId parameter to
    current store in command context when invoking ResolveOrdersCmd
    so that the correct pending order will be resolved.
    
    
     -------------------------------------------------------------
     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

    JR50349

  • Reported component name

    WC BUS DEV ED W

  • Reported component ID

    5724I3900

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-29

  • Closed date

    2014-08-07

  • Last modified date

    2014-08-07

  • 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 DEV ED W

  • Fixed component ID

    5724I3900

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSYT2H","label":"WebSphere Commerce Developer 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