IBM Support

JR60143: Unexpected ${CommandContext.commandName} value for SEO URL

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Commerce Version 9.0.0.6
    If one is browsing a site using non-SEO URL, then
    ${CommandContext.commandName} returns the correct expected value
     (eg. StoreView, ProductDisplay, CategoryDisplay etc.). However,
     if one is browsing using the equivalent SEO URL, then it
    returns the last command in the URL rather than the view name.
    For example: SEO homepage URL is
    local.hostname.com/shop/xxus. ${CommandContext.commandName}
    returns "xxus" rather than "StoreView"
    

Local fix

Problem summary

  • USERS AFFECTED:
    WC v9, Store developers will be affected.
    
    PROBLEM ABSTRACT:
    Unexpected ${CommandContext.commandName} value for SEO URL
    
    BUSINESS IMPACT:
    The customer JSP code can not contain the logic or rely on the
    value of current commandName in the context in remote store.
    This limits the flexibility of customer store flow.
    
    RECOMMENDATION:
    

Problem conclusion

  • The solution is to refresh the CommandName in the store context
    during the lifecycle of request processing, and after SEO URL
    decomposing, the store context will update the commandName based
     on the SEO URL decomposing result.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR60143

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-10-15

  • Closed date

    2018-11-05

  • Last modified date

    2018-11-06

  • 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

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

Document Information

Modified date:
06 November 2018