IBM Support

JR57695: BySearchTerm returns landing page URL in lower case, which results in a redirection to 404 page

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • BySearchTerm returns landing page URL in lower case, which
    results in a redirection to 404 page, even with search profile
    IBM_findProductsBySearchTerm.
    You might encounter an error similar to the following message in
     the log:
    [1/24/17 9:26:36:467 MST] 0000004a SearchTermAss 1
    com.ibm.commerce.foundation.internal.server.services.search.util
    .SearchTermAssociationHelper
    getSrchTermAssocByTypes(searchTerm,languageId,threshold,storeId,
    arrTypes) returned type: LandingPageURL
    [1/24/17 9:26:36:467 MST] 0000004a SearchTermAss 1
    com.ibm.commerce.foundation.internal.server.services.search.util
    .SearchTermAssociationHelper
    getSrchTermAssocByTypes(searchTerm,languageId,threshold,storeId,
    arrTypes) returned values: {1=[new product intro],
    2=[/shop/searchdisplay?&langid=-1&beginindex=0&catalogid=10001&f
    acet=newproductflag:npi&storeid=10151]}
    [1/24/17 9:26:36:467 MST] 0000004a SearchTermAss <
    com.ibm.commerce.foundation.internal.server.services.search.util
    .SearchTermAssociationHelper
    getSrchTermAssocByTypes(searchTerm,languageId,threshold,storeId,
    arrTypes) RETURN
    [/shop/searchdisplay?&langid=-1&beginindex=0&catalogid=10001&fac
    et=newproductflag:npi&&storeid=10151]
    This is where we process the landing page URL, and we looked
    into the SearchTermAssociationHelper documentation. Following
    the documentation we go in public static List<SrchTermAssoc>
    getAllSrchTermAssoc(String storeId,.. where a query is performed
     and it takes the results (landing Page URL) and puts them in a
    cache but lowercases them for some reason:
    String term = String.valueOf(record.get("TERM")).toLowerCase();
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce Version 7 Feature Pack 8, and Version 8.
    
    PROBLEM ABSTRACT:
    BySearchTerm returns landing page URL in lower case, which
    results in a redirection to 404 page
    
    BUSINESS IMPACT:
    Customers encounter 404 page when redirected to landing page.
    
    RECOMMENDATION:
    

Problem conclusion

  • Removed code that changed the URL to use lowercase characters.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR57695

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-04-03

  • Closed date

    2018-06-29

  • Last modified date

    2019-03-20

  • 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