IBM Support

JR52967: A JAVASCRIPT NATIVEARRAY CAN BE ASSIGNED BACK TO A VARIABLE OF TYPE LIST WITHOUT ERROR BUT RESULTS IN AN EMPTY LIST

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When you try to assign an array containing business objects to a
    variable of type list containing business objects, the statement
    does not throw an exception but results in an empty list.
    

Local fix

  • Instead of assigning the list directly, fill the list by adding
    the following lines to your JavaScript snippet:
    
    // convert a native array to a tw list
    var list = new tw.object.listOf.MyBO();
    for (var i=0; i<array.length; i++) {
     list.insertIntoList(i, a[i]);
    }
    

Problem summary

  • No additional information is available.
    

Problem conclusion

  • A fix is available for IBM BPM that converts the array
    containing business objects to a list containing business
    objects correctly.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR52967:
    
    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 JR52967, 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

    JR52967

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-27

  • Closed date

    2015-07-30

  • Last modified date

    2015-07-30

  • 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

  • R855 PSY

       UP

  • R856 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
30 July 2015