Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-8025

menu-*-action not correctly handled in workflow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • 4.2.0
    • 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)
      

            Unassigned Unassigned
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: