IBM Support

PM92255: RUI serviceLib.convertFromJSON converts null values incorrectly

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    Attempting to convert data structures with null values with
    serviceLib.convertFromJSON in RUI results in default values in
    the data structure
    
    Error Description:
    Transfer null-values from a EGL REST service to a RUI frontend
    Expected Result:
    null values are propagated
    Actual Result:
    default values are returned
    
    Workaround:
    None
    

Local fix

Problem summary

  • serviceLib.convertFromJSON ignores the null value in the JSON
    string but convert it to default values into the target record.
    

Problem conclusion

  • serviceLib.convertFromJSON will convert null value in the JSON
    string to null if the field is nullable.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM92255

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-02

  • Closed date

    2013-10-28

  • Last modified date

    2013-10-28

  • 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

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
28 October 2013