IBM Support

IV92257: LOCALIZED JSON RESULT OF A TRIRIGA QUERY VIA THE INTEGRATION OBJECT EXTERNAL URL FUNCTIONALITY IS NOT REFLECTING NAME CHANGES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as documentation error.

Error description

  • When you run a query expecting JSON results, the modified name
    of the roles are not being reflected.
    That is, the original name is displayed in the result query.
    This happens for localized users only. US_en users observe the
    changes when refreshing the query results.
    Steps to reproduce:
    1. Log in with a localized user.
    2. Go to Classifications, Roles.
    3. Create a new Role.
    4. Run this out of the box query using this URI:
    http://support00.tivlab.usnv.ibm.com:23001/p351a1051/html/en/def
    ault/rest/Integration?action=query&module=Classification&bo=triR
    ole&query=triRole%20-%20Find%20-%20All%20Roles%20For%20Lease%20A
    bstract
    5. Check the newly created Role listed in the result set.
    6. Find the role listed back in Classifications, Roles.
    7. Rename the role. Save&Close it.
    8. Re-run the URI query. The name change is not showing. It
    displays the original name.
    

Local fix

  • The workaround is to retrieve the query results in XML format,
    by adding the f=xml parameter to the url. The localized result
    for a given field value will be in the <displayValue> child
    element of the fields column element.
    For example:
    <column>
    <field>triNameTX</field>
    <label>
    <![CDATA[ Name ]]>
    </label>
    <value>
    <![CDATA[ SomeRoleUS ]]>
    </value>
    <displayValue>
    <![CDATA[ SomeRoleUK ]]>
    </displayValue>
    </column>
    

Problem summary

Problem conclusion

  • The section should include two new f parameter values:
    json-loc Minimized JSON string containing localized values.
    Localized values will appear in JSON string name value pairs
    where name field is appended with _DISPLAY. ex. For example
    "name_DISPLAY":"Some Localized Value".
    pjson-loc JSON string in print format for easier readability
    containing localized values. Localized values will appear in
    JSON string name value pairs where name field is appended with
    _DISPLAY. ex. For example "name_DISPLAY":"Some Localized Value".
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV92257

  • Reported component name

    TRI APPLCATION

  • Reported component ID

    5725F26AB

  • Reported release

    351

  • Status

    CLOSED DOC

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-01-12

  • Closed date

    2017-01-18

  • Last modified date

    2017-01-18

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHEB3","label":"IBM TRIRIGA Application Platform"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"351","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
30 March 2022