Direct link to fix
APAR status
Closed as program error.
Error description
If you call the JavaScript API setEnabled before the Text Editor coach view has finished initializing its internal components, the following error message is shown in the browser's console. Error on change event [/Text_Editor_Visibility_Coach1/textEditor]: TypeError: Cannot read property 'setMode' of undefined Call stack: TypeError: Cannot read property 'setMode' of undefined at Object._handleVisibility (/teamworks/webasset/2064.304ac881-16c3-47d2-97d5-6e4c4a893177/W /BPMExt-Controls.min.js:1461:513) at subclass.constructor._proto.constructor.change (/teamworks/webasset/2064.304ac881-16c3-47d2-97d5-6e4c4a893177/W /BPMExt-Controls.min.js:1493:344) at Object._485.callViewLifeCycleAPI (/teamworks/script/coachNG/dojo/1.10.5/dojo/dojo.js?build=202006 130714:2:176584) at subclass._fd3._change (/teamworks/script/coachNG/dojo/1.10.5/dojo/dojo.js?build=202006 130714:2:483580) at subclass._fd3._metadataChanged (/teamworks/script/coachNG/dojo/1.10.5/dojo/dojo.js?build=202006 130714:2:485570) at Object._100d (/teamworks/script/coachNG/dojo/1.10.5/dojo/dojo.js?build=202006 130714:2:488700) at /teamworks/script/coachNG/dojo/1.10.5/dojo/dojo.js?build=2020061 30714:2:295912 at /teamworks/script/coachNG/dojo/1.10.5/dojo/dojo.js?build=2020061 30714:2:566760 at Object.<anonymous> (/teamworks/script/coachNG/dojo/1.10.5/dojo/dojo.js?build=202006 130714:2:53026) at _863 (/teamworks/script/coachNG/dojo/1.10.5/dojo/dojo.js?build=202006 130714:2:268402) PRODUCTS AFFECTED IBM Business Automation Workflow
Local fix
Problem summary
No additional information is available.
Problem conclusion
A fix is available or will be available that ensures the setEnabled JavaScript API functions without error, regardless of the state of the Text Editor's internal components.
Temporary fix
Comments
APAR Information
APAR number
JR62588
Reported component name
BUS AUTO WORKFL
Reported component ID
5737H4100
Reported release
K00
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-07-22
Closed date
2020-08-17
Last modified date
2020-08-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
BUS AUTO WORKFL
Fixed component ID
5737H4100
Applicable component levels
[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"20.0.0.1"}]
Document Information
Modified date:
14 December 2020