IBM Support

JR44181: CMVC 224384 - SOLVE THE INCORRECT DATE FORMAT PROBLEM FOR SITEMAPGENERATE RESULT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Run the SitemapGenerate command from the WebSphere Commerce
    Administration console scheduler view, and then the XML format
    sitemap file is generated, which has an invalid date format for
    the <lastmod> tag, which is "day of year".The date format of the
    <lastmod> tag should be YYYY-MM-dd, where "dd" is the "day of
    month", required by the sitemap standards.
    
    For example:
    <url>
    <loc>http://localhost/webapp/wcs/stores/servlet/CategoryDisplay?
    storeId=10501&urlLangId=-1&categoryId=31001&top=Y&catalogId=1000
    1&langId=-1</loc>
    <lastmod>2012-08-235</lastmod></url>
    <url>
    
    Trace log:
    [9/10/12 22:53:00:579 CDT] 0000047a helpers       <
    com.ibm.commerce.seo.url.helpers.SEOURLPatternHelper
    getTokenNameValuePairForKeywordLookUpInTokenDefinition(TypedProp
    erty) RETURN {}
    [9/10/12 22:53:00:579 CDT] 0000047a commands      1
    com.ibm.commerce.seo.sitemap.commands.AbstractCatalogTreeSiteMap
    GenerateCmdImpl constructCatalogEntryURL(CatalogNodeDataBean,
    Integer) Exception caught parsing last modified date
    [9/10/12 22:53:00:579 CDT] 0000047a commands      <
    com.ibm.commerce.seo.sitemap.commands.AbstractCatalogTreeSiteMap
    GenerateCmdImpl constructCatalogEntryURL(CatalogNodeDataBean,
    Integer) RETURN
    com.ibm.commerce.seo.sitemap.commands.AbstractCatalogTreeSiteMap
    GenerateCmdImpl$SiteMapURLRecordImpl@4f894f89
    [9/10/12 22:53:00:579 CDT] 0000047a               >
    com.ibm.commerce.seo.beans.CatalogNodeListDataBean hasNext ENTRY
    [9/10/12 22:53:00:579 CDT] 0000047a               <
    com.ibm.commerce.seo.beans.CatalogNodeListDataBean hasNext
    RETURN value returned true
    [9/10/12 22:53:00:579 CDT] 0000047a               >
    com.ibm.commerce.seo.beans.CatalogNodeListDataBean next ENTRY
    [9/10/12 22:53:00:594 CDT] 0000047a               1
    com.ibm.commerce.seo.beans.CatalogNodeListDataBean next The
    number of subCategories for 10005 is 0
    [9/10/12 22:53:00:594 CDT] 0000047a               >
    com.ibm.commerce.seo.beans.CatalogNodeListDataBean getCatEntries
    ENTRY
    [9/10/12 22:53:00:594 CDT] 0000047a               >
    com.ibm.commerce.seo.beans.CatalogNodeListDataBean
    CatEntrySearcher ENTRY
    [9/10/12 22:53:00:594 CDT] 0000047a               <
    com.ibm.commerce.seo.beans.CatalogNodeListDataBean
    CatEntrySearcher RETURN ""
    [9/10/12 22:53:00:594 CDT] 0000047a               <
    com.ibm.commerce.seo.beans.CatalogNodeListDataBean getCatEntries
    RETURN ""
    [9/10/12 22:53:00:594 CDT] 0000047a               1
    com.ibm.commerce.seo.beans.CatalogNodeListDataBean next The
    number of catEntries for 10005 is 2
    [9/10/12 22:53:00:594 CDT] 0000047a               1
    com.ibm.commerce.seo.beans.CatalogNodeListDataBean next value of
    catEntry is 21043P
    [9/10/12 22:53:00:594 CDT] 0000047a               1
    com.ibm.commerce.seo.beans.CatalogNodeListDataBean next value of
    catEntry is 21708P
    

Local fix

Problem summary

  • USERS AFFECTED:
    Users enabled SEO in v7.0 + FEP3 or later environment
    
    PROBLEM ABSTRACT:
    The result of the SitemapGenerate command has incorrect date
    format, which is "day of year" for the day field.
    
    BUSINESS IMPACT:
    The system cannot provide valid sitemaps to search engines
    
    RECOMMENDATION:
    

Problem conclusion

  • The day in the date format was referencing day of the year, the
    solution has updated it to day of the month.
    -------------------------------------------------------------
    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

    JR44181

  • 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

    2012-09-24

  • Closed date

    2012-10-11

  • Last modified date

    2012-10-11

  • 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:
11 October 2012