IBM Support

IJ34403: JSON MAPPING IS NOT BEING ABLE TO ESCAPE DOUBLE QUOTE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • JSON mapping is not being able to escape double quote.
    i.e: in the json mapping the description field contains a double
    quote like : "10" Ball Valve w/ Extension"
    when sending "10\" Ball Valve w/ Extension" the double quote is
    being stripped out and in the database it saves it like "10 Ball
    Valve w/ Extension"
    
    It happens for all object structures.
    
    Steps to reproduce:
    1. Create a new json mapping (in my test I used MXASSET),
    Inbound processing
    2. Json data:
    {    "assetnum":"11721",
       "status":"NOT READY",
       "description":"10\" Ball Valve w/ Extension",
       "siteid":"BEDFORD"
    }
    
    output:
    <?xml version="1.0" encoding="UTF-8"?>
    <SyncMXASSET xmlns="http://www.ibm.com/maximo"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    creationDateTime="2021-08-06T11:27:45-07:00" baseLanguage="EN"
    transLanguage="EN" event="0"
    maximoVersion="7620200715-0100V7612-284">
     <MXASSETSet>
       <ASSET>
         <ASSETNUM>11721</ASSETNUM>
         <DESCRIPTION>10 Ball Valve w/ Extension</DESCRIPTION>
         <SITEID>BEDFORD</SITEID>
         <STATUS>NOT READY</STATUS>
       </ASSET>
     </MXASSETSet>
    </SyncMXASSET>
    
    -> the double quote is being stripped out.
    
    This is also seen in 7612
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Maximo users                                                 *
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR is contained in the following maintenance
    package: | Release 7.6.1.3 of Base Services
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ34403

  • Reported component name

    INTEGRATION

  • Reported component ID

    5724R46I1

  • Reported release

    760

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-08-12

  • Closed date

    2021-08-17

  • Last modified date

    2021-08-17

  • 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

    INTEGRATION

  • Fixed component ID

    5724R46I1

Applicable component levels

[{"Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"Maximo Asset Management"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"760"}]

Document Information

Modified date:
18 August 2021