-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
4.0RC2
-
None
-
None
One of my workflow steps has a custom action :
<action> <menu-7-action>fr.ametys.workflow.actions.RefuseWorkflowAction.doAction</menu-7-action> </action>
But once a custom action has been defined, a javascript exception is raised when clicking on the button.
Uncaught TypeError: name.split is not a function at constructor.getFunctionByName (Ametys.js:362) at constructor.executeFunctionByName (Ametys.js:397) at constructor.onPress (ButtonController.js:513) at constructor.handler (ext-all-debug.js:6696) at Object.callback (ext-all-debug.js:8497) at constructor.fireHandler (ext-all-debug.js:132238) at constructor.onClick (ext-all-debug.js:132722) at constructor.fire (ext-all-debug.js:20326) at constructor.fire (ext-all-debug.js:32684) at constructor.publish (ext-all-debug.js:32660)
[CMS-8025] menu-*-action not correctly handled in workflow
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Fix Version/s | New: 4.2.0 [ 14425 ] | |
Resolution | New: Cannot Reproduce [ 5 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Attachment | Original: capture-for-jira-screenshot-20170216-151716-663.png [ 19001 ] |
Attachment | New: Capture 2017-02-04 at 15.29.28.png [ 19002 ] |
Description |
Original:
One of my workflow steps has a custom action : <action> <menu-7-action>fr.ametys.workflow.actions.RefuseWorkflowAction.doAction</menu-7-action> </action> But once a custom action has been defined, a javascript exception is raised when clicking on the button. Uncaught TypeError: name.split is not a function at constructor.getFunctionByName (Ametys.js:362) at constructor.executeFunctionByName (Ametys.js:397) at constructor.onPress (ButtonController.js:513) at constructor.handler (ext-all-debug.js:6696) at Object.callback (ext-all-debug.js:8497) at constructor.fireHandler (ext-all-debug.js:132238) at constructor.onClick (ext-all-debug.js:132722) at constructor.fire (ext-all-debug.js:20326) at constructor.fire (ext-all-debug.js:32684) at constructor.publish (ext-all-debug.js:32660) |
New:
One of my workflow steps has a custom action :
{code:xml}<action> <menu-7-action>fr.ametys.workflow.actions.RefuseWorkflowAction.doAction</menu-7-action> </action> {code} But once a custom action has been defined, a javascript exception is raised when clicking on the button. {noformat}Uncaught TypeError: name.split is not a function at constructor.getFunctionByName (Ametys.js:362) at constructor.executeFunctionByName (Ametys.js:397) at constructor.onPress (ButtonController.js:513) at constructor.handler (ext-all-debug.js:6696) at Object.callback (ext-all-debug.js:8497) at constructor.fireHandler (ext-all-debug.js:132238) at constructor.onClick (ext-all-debug.js:132722) at constructor.fire (ext-all-debug.js:20326) at constructor.fire (ext-all-debug.js:32684) at constructor.publish (ext-all-debug.js:32660) {noformat} |
Attachment | New: capture-for-jira-screenshot-20170216-151716-663.png [ 19001 ] |
works for me in 4.2