Fixes are available
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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
12 October 2021