IBM Support

JR46815: CMVC 228575 - Some custom SEO token names create URL resolution issues

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When declaring custom SEO tokens in the SEO URL pattern files,
    some SEO token names cannot be used because they end in an
    existing value.  Some examples are:
     IBMCustomCategoryToken, IBMCustomStoreToken.
    
     When the URL fails to parse, exceptions similar to the
    following appear in the logs:
     [4/2/13 11:38:36:368 EDT] 00000043 impl          1
    com.ibm.commerce.seo.url.parser.impl.SEOURLGrammarParser parse
    Hit an error at token $ = symbol T($), TOS = 63
     [4/2/13 11:38:36:421 EDT] 00000043 cache         1
    com.ibm.commerce.seo.url.cache.SEOURLCache
    generateCacheableData() An exception was caught while parsing.
    Constructing an invalid URL result
    
    com.ibm.commerce.seo.common.exception.SEOApplicationException:
    An invalid token $ T($) was detected while parsing URL
    /en/usstore/c/girls. Partial pattern matched
    /LanguageToken/StoreToken:CatalogToken/c/CategoryToken.
    

Local fix

  • Rename the custom tokens to not contain any IBM defined SEO
    tokens.
    

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on v7.0 who are using specific custom
    token names in their SEO URL patterns files
    
    PROBLEM ABSTRACT:
    Some custom SEO token names create URL resolution issues
    
    BUSINESS IMPACT:
    Users will be unable to use their desired token names.
    
    RECOMMENDATION:
    

Problem conclusion

  • The issue with patterns not matching properly where invalid
    custom tokens are used is resolved with this fix.
    -------------------------------------------------------------
    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

    JR46815

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

  • Closed date

    2013-09-26

  • Last modified date

    2013-09-26

  • 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:
26 September 2013