IBM Support

JR44710: CMVC 225030 - RESOLVE AN ISSUE WHERE THE MARKETINGSPOTDATA REST SERVICE DOES NOT PRODUCE VALID JSON

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When leveraging the /MarketingSpotData REST service with JSON
    formatting, the output produced may be malformed.
    
    For example, consider the following request:
    <hostname>/wcs/resources/stores/<storeId>/MarketingSpotData/<nam
    e>?responseFormat=json
    
    The output may contain an empty value:
    
    {
                   "show": null,
                   "marketingSpotData": [{
                           "marketingSpotIdentifier": {
                                   "uniqueID": "123456",
                                   "externalIdentifier": {
                                          "name": "espotHomeBanner",
                                          "storeIdentifier": null
                                   }
                           },
                           "baseMarketingSpotActivityDataGroup": ,
    <-- Expecting value, not comma
                           "baseMarketingSpotActivityData": [{
                           ...
                           ...
    

Local fix

  • Use the newer /espot REST service interface (FEP4+) instead.
    
    For example:
    <hostname>/wcs/resources/store/<storeId>/espot/<name>/
    

Problem summary

  • USERS AFFECTED:
    All WebSphere Commerce users on v7.0 leveraging the
    /MarketingSpotData REST service
    
    PROBLEM ABSTRACT:
    The MarketingSpotData REST service may produce a malformedJSON
    response
    
    BUSINESS IMPACT:
    Low-moderate: A workaround exists that can be used in most
    cases.
    
    RECOMMENDATION:
    

Problem conclusion

  • The response format of the JSON output is rectified 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

    JR44710

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

  • Closed date

    2013-01-21

  • Last modified date

    2013-01-21

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