IBM Support

PI71226: Apparent loss of repeating elements when parsing JSON data structures.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When reading JSON data any repeating sections marked against
    objects are ignored and the upshot is that only the final set of
    values from the JSON data source are processed.  Typically this
    hides validation errors in any rows of data other than the last
    row, as compared to the testers intent.  Since repeating
    sections can only be marked against sets / arrays in JSON an
    error or warning should occur where the repeating section is
    marked against an object in the RIT message editor.
    

Local fix

  • Only place repeating section markers on lines which are set /
    array repetitions in the message action editor.  N.B. These rows
    will have a label such as "0 (Object)".
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users validating JSON data structures with repeating         *
    * elements.                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When JSON is expanded, if an object contains duplicate       *
    * properties, only the last occurrences value is used with no  *
    * indication that the others have been discarded.              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • A new warning is now emitted to the console indicating that the
    repeating values have been discarded, this is present in release
    9.1.0 of Rational Integration Tester.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI71226

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    860

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-25

  • Closed date

    2017-04-03

  • Last modified date

    2017-04-03

  • 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 INTEGRA TE

  • Fixed component ID

    5725G79IT

Applicable component levels

  • R800 PSN

       UP

  • R801 PSN

       UP

  • R850 PSN

       UP

  • R851 PSN

       UP

  • R860 PSN

       UP

  • R870 PSN

       UP

  • R871 PSN

       UP

  • R900 PSN

       UP

  • R901 PSN

       UP

  • R910 PSY

       UP



Document information

More support for: Rational Test Workbench

Software version: 8.6

Reference #: PI71226

Modified date: 03 April 2017