IBM Support

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

Subscribe

You can track all active APARs for this component.

 

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

  • R18X PSY

       UP

  • R760 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"760"}]

Document Information

Modified date:
28 September 2021