IBM Support

IT46146: REST API RETURNS NUMBER VALUES FOR THE NAME INSTEAD OF A STRING VALUE.

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 an object in DataPower is defined with a number as the name
    of the object, then the RMI call to return that objects status
    or configuration would incorrectly return the name attribute as
    a number rather than as a string
    e.g. for an rule it would return
    {        "_links" : {
           "self" : {"href" :
    "/mgmt/config/default/StylePolicyRule/3"},
    
           "doc" : {"href" : "/mgmt/docs/default/StylePolicyRule"}},
    
    
           "StylePolicyRule" :
    
                  {"name" : 3,
    
                  "mAdminState" : "enabled",
    
    
    The '3' should be quoted like '"name": "3"'
    

Local fix

Problem summary

  • Return the proper json response.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT46146

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    A5X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-05-10

  • Closed date

    2024-06-19

  • Last modified date

    2024-06-19

  • 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

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A5X","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
19 June 2024