IBM Support

IT34863: JSON PARSER CANNOT PARSE DECIMAL NUMBERS WHEN SYSTEM LOCALE IS FR_CH

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

  • If the system locale is Swiss French then the JSON parser
    cannot parse decimal numbers. For example parsing of {"hello":
    123.456} will fail with a BIP5716 exception.
    
    This occurs
    because of a disagreement between the ACE locale data and the
    system locale data as to what the correct decimal separator is
    for numbers in the fr_CH locale. This error is not seen for the
    base fr (i.e. fr_FR) locale.
    

Local fix

  • Setting the following environment variables will forse the JSON
    parser to treat numbers in JSON messages as DECIMALs rather
    than FLOATs:
    
    MQSI_JSON_NUMBERFORMATPARSING_OFF=1
    MQSI_JSON_NUMBER_PRECISION_TYPE=DECIMAL
    
    Note that the values and case of the
    environment variable values is important.
    
    Otherwise, change
    the system locale to fr_FR rather than fr_CH.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of the JSON parser in IBM App Connect Enterprise v11
    running integration nodes and integration servers in a Swiss
    French locale.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    If the system locale is Swiss French then the JSON parser cannot
    parse decimal numbers. For example parsing of {"hello": 123.456}
    will fail with a BIP5716 exception.
    
    This occurs because of a disagreement between the ACE locale
    data and the system locale data as to what the correct decimal
    separator is for numbers in the fr_CH locale. This error is not
    seen for the base fr (i.e. fr_FR) locale.
    

Problem conclusion

  • The JSON parser now always uses the host system locale data when
    parsing numbers, rather than a mix of the system and ACE
    built-in locale data.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v11.0      11.0.0.11
    
    The latest available maintenance can be obtained from:
    http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041
    
    If the maintenance level is not yet available,information on
    its planned availability can be found on:
    http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT34863

  • Reported component name

    APP CONNECT ENT

  • Reported component ID

    5724J0550

  • Reported release

    B00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-11-10

  • Closed date

    2020-12-14

  • Last modified date

    2021-01-04

  • 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

    APP CONNECT ENT

  • Fixed component ID

    5724J0550

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSDR5J","label":"IBM App Connect Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B00"}]

Document Information

Modified date:
05 January 2021