IBM Support

JR45645: CMVC 227058 - SET THE CORRECT USER ID AND ACTIVE ORGANIZATION ID TO THE ENTITLEMENT CONTEXT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • This problem is discovered when CSR places order for a user, the
    following errors are thrown in the log and the price can't be
    displayed in the wizard of Accelerator:
    
    [12/11/12 17:20:40:300 CET] 00000049 CommerceSrvr E
    com.ibm.commerce.command.ECCommandTarget executeCommand
    CMN0420E: The following command
    exception has occurred during processing:
    "java.lang.NullPointerException: quantity cannot be null.".
    java.lang.NullPointerException: quantity cannot be null.
    
    When trying to add an item:
    [12/11/12 10:12:10:978 CET] 0000005f CommerceSrvr A
    com.ibm.commerce.price.commands.AbstractGetPriceCmdImpl
    checkEligible The trading agreement "19,221" specified is not
    valid.
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere commerce users on v7 that have users under one
    organizational unit who want to make orders in another
    organization units while having more than 1 contract.
    
    PROBLEM ABSTRACT:
    The active organization id are not getting set correctly in the
    entitlement context which can cause errors relating to the
    retrieval of the wrong contracts during order processing and
    hence the price can't be displayed in the wizard of CSR placing
    order for a user in Accelerator.
    
    BUSINESS IMPACT:
    Unable to meet the set requirements.
    
    RECOMMENDATION:
    

Problem conclusion

  • Set the selected organization into the command context so that
    the eligible contracts can be retrieved in the entitlement
    context.
    -------------------------------------------------------------
    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

    JR45645

  • 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-02-06

  • Closed date

    2013-03-04

  • Last modified date

    2013-03-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 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:
04 March 2013