IBM Support

JR54110: Generic Error occurs when a shopper attempts to change the store language on a page with a non-SEO URL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

Local fix

  • Update the StoreCommonUtilities.js file by changing the
    "switchLanguageCurrency" method. Add an "or" condition to also
    account for CategoryDisplay pages.
    Note: An interim fix does not update your already published
    stores. For your published Aurora starter store, you need to add
     the following change manually:
    
    Change from:
     // get rid of anything after pound sign(#) in the URL if it is
    a SearchDisplay request.
     // search processes the query parameters and cannot handle a
    redirect URL with pound sign(#)
     if (browserURL.indexOf('SearchDisplay') != -1 &&
    browserURL.indexOf('#') != -1) {
    
    To:
    
     // get rid of anything after pound sign(#) in the URL if it is
    a SearchDisplay request.
     // search processes the query parameters and cannot handle a
    redirect URL with pound sign(#)
     if ((browserURL.indexOf('SearchDisplay') != -1 ||
    browserURL.indexOf('CategoryDisplay') != -1 ) &&
    browserURL.indexOf('#') != -1) {
    

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce V7 users on Feature Pack 5 or later using the
     Aurora starter store.
    
    PROBLEM ABSTRACT:
    Generic Error occurs when a shopper attempts to change the store
     language on a page with a non-SEO URL
    
    BUSINESS IMPACT:
    Shoppers cannot change store languages on some store pages.
    
    RECOMMENDATION:
    

Problem conclusion

  • Update a method in the StoreCommonUtilities.js file to generate
    appropriate URLs for non-SEO category pages.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR54110

  • 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

    2015-08-20

  • Closed date

    2015-12-14

  • Last modified date

    2015-12-21

  • 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"},"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