IBM Support

JR58914: Autosuggest JavaScript error when a catalog entry has a brand name that contains a quotation mark character

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You encounter a JavasScript error if the brand name from a
    catalog entry contains a quotation mark.
    For example: ABC "DEF" GHI
    

Local fix

  • Edit the following files:
    /Stores/WebContent/AuroraStorefrontAssetStore/Widgets/Search/Cac
    hedSuggestions.jsp
    /Stores/WebContent/AuroraB2BStorefrontAssetStore/Widgets/Search/
    CachedSuggestions.jsp
    On line 29 modify:
    <c:set var="replaceStr02" value='\\\\"'/>
    To
    <c:set var="replaceStr02" value='\\"'/>
    

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce Version 8 Mod Pack 4 Fix Pack 11.
    
    PROBLEM ABSTRACT:
    Autosuggest JavaScript error when a catalog entry has a brand
    name that contains a quotation mark character
    
    BUSINESS IMPACT:
    A JavaScript error occurs when a shopper clicks in the search
    box, even before the shopper enters anything in the box.
    
    RECOMMENDATION:
    

Problem conclusion

  • Edit the following files:
    /Stores/WebContent/AuroraStorefrontAssetStore/Widgets/Search/Cac
    hedSuggestions.jsp
    /Stores/WebContent/AuroraB2BStorefrontAssetStore/Widgets/Search/
    CachedSuggestions.jsp
    
    On line 29 modify:
    <c:set var="replaceStr02" value='\\\\"'/>
    To
    <c:set var="replaceStr02" value='\\"'/>
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR58914

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-12-24

  • Closed date

    2018-01-28

  • Last modified date

    2018-01-28

  • 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

  • R800 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":"8.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021