IBM Support

JR47228: A FALSE VALIDATION ERROR IS BEING THROWN WHEN USING A COLON FOR JAVASCRIPT OBJECT DECLARATION.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • A false validation error is being thrown when using a colon for
    JavaScript Object declaration.  From the example below as soon
    as you use the auto-complete, by adding a dot (.), to
    tw.local.value[i] it will throw a validation error.
    
    Example:
    var myVar = {
            "value1": tw.local.value[i]
            "value2": tw.local.value[i].length
    };
    

Local fix

  • None. Does not prevent the code from running.
    

Problem summary

  • (one line description)
    When defining a JSON object in the java script editor using a
    variable defined as a list (ie. tw.local.list1[i]), a validation
    error will be shown on any members of that list variable and no
    content assist will be available
    
    USER AFFECTED:
    Business Process Manager Advanced, Standard and Express user who
    is writing java script code and is defining a JSON object and
    wishes to use a variable defined as a list
    
    PROBLEM CONCLUSION:
    Code will be made to evaluate the value field of the JSON object
    as a JSExpression with a context of
    JSSyntaxParseContext.INSTRUCTION_EXPRESSION_TYPE_PROGRAM. This
    allows the code to properly parse the JSExpression and provide
    correct content assist as well as no validation errors.
    
    FIX AVAILABILITY:
    Fix planned for next 8.5 cumulative maintenance deliverable.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    JR47228

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    850

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-11

  • Closed date

    2013-08-27

  • Last modified date

    2013-08-27

  • 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

  • R850 PSY

       UP

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

Document Information

Modified date:
27 August 2013