IBM Support

IT28494: JSON SCHEMA COMPILATION FAILS WHEN ENUM PROPERTY ARE LARGER THAN 999999

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

  • When compiling a JSON field value, if an enum property value is
    larger than 999999 (eg {"enum":[1000000]}), this will cause the
    validation to fail.
     For example:
    {
      "type":"object",
      "properties":{
        "testlong":{
          "type":"integer",
          "format":"int64",
          "enum":[1000000]
        }
      },
      "$schema":"http://json-schema.org/draft-04/schema#"
    }
    The above JSON schema will fail during compilation with an
    error similar to:
     Fatal Error at xa35://tmp/temp_07331:1: [FOAR0002] A numeric
    operation resulted in overflow
    

Local fix

Problem summary

  • JSON schema compilation fails if an enum property is larger
    than 999999.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT28494

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    760

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-18

  • Closed date

    2019-05-22

  • Last modified date

    2019-05-29

  • 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

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels



Document information

More support for: IBM DataPower Gateways
General

Software version: 760

Reference #: IT28494

Modified date: 29 May 2019