IBM Support

JR52546: TWOBJECT.LISTTONATIVEARRAY() RETURNS AN OBJECT ARRAY WHERE OBJECT PROPERTIES ARE UNDEFINED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The TWObject.listToNativeArray() JavaScript API returns a native
    object array that contains objects of a type that subsequent
    JavaScript API calls cannot access.
    

Local fix

  • Use the following helper function instead of
    TWObject.listToNativeArray():
    // convert a tw list to a native array
    function myListToNativeArray(a) {
        var array = new Array();
        for (var i=0; i<a.listLength; i++) {
            array[array.length] = a[i];
        }
        return array;
    }
    

Problem summary

  • No additional information is available
    

Problem conclusion

  • A fix is available for IBM BPM V8.5.0.1 that wraps the objects
    returned in the native array as TWObjectScriptable so that they
    can be used in subsequent JavaScript API calls.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR52546:
    
    1. Select IBM Business Process Manager with your edition from
      the product selector, the installed version to the fix pack
      level, and your platform, and then click Continue.
    
    2. Select APAR or SPR, enter JR52546, and click Continue.
    
    When you download fix packages, ensure that you also download
    the readme file for each fix. Review each readme file for
    additional installation instructions and information about the
    fix.
    

Temporary fix

  • Not applicable
    

Comments

APAR Information

  • APAR number

    JR52546

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-02-11

  • Closed date

    2015-04-17

  • Last modified date

    2015-04-17

  • 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

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
11 September 2024