IBM Support

JR44999: CMVC 225419 - TO ADD A CONFIGURATION THAT ALLOWS A CUSTOMER TO REMOVE INVALID UNICODE CHARACTERS FROM THEIR MARKETING CONTENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the text of marketing content contains specific unicode
    characters (for example, end of text character \u0003), and the
    content is propagated from the staging environment to the
    production environment, the code is unable to parse the
    characters. As a result, the content is not displayed in the
    e-Marketing Spot on the storefront.
    
    When this happens, an error similar to the following will appear
    in the logs:
    
    [11/1/12 21:31:21:766 UTC] 000001a6 marketingspot 1
    com.ibm.commerce.marketing.commands.marketingspot.RetrieveConten
    tTaskCmdImpl performExecute java.lang.RuntimeException: An
    invalid XML character (Unicode: 0x3) was found in the element
    content:<!--
    
    This error occurs when the FilterContentCmdImpl is configured to
    be cached in the cachespec.xml
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on v7.0 using Management Center
    activities to display marketing content
    
    PROBLEM ABSTRACT:
    Unable to display Marketing Content which contains invalid
    unicode characters.
    
    BUSINESS IMPACT:
    Marketing content does not display on the storefront.
    
    RECOMMENDATION:
    

Problem conclusion

  • This enhancement provides a configuration to allow business
    users to remove invalid unicode characters from their marketing
    content.
    For example, to remove the end of text unicode character, create
    the following entry in a custom marketing wc-admin-component.xml
    file :
    
          <!-- Use this property to remove invalid characters from
    marketing content.
               Provide a comma separated list of characters to
    remove when retrieving marketing content.
               This example shows the configuration to remove the
    end of text unicode character.
               <_config:property
    name="charactersToRemoveFromContent" value="\u0003"/>
          -->
          <_config:property name="charactersToRemoveFromContent"
    value="\u0003"/>
    
    See the following topic on creating a custom marketing
    wc-admin-component.xml file:
    http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com
    .ibm.commerce.management-center_customization.doc/tasks/tsbwcadm
    incom.htm
    
    -------------------------------------------------------------
    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

    JR44999

  • 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-12-03

  • Closed date

    2013-01-09

  • Last modified date

    2013-01-09

  • 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:
09 January 2013