Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-92396

Cannot save workflow definition on Process Builder

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: Master
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      4
    • Sprint:
      Workflow_7.2_08

      Description

      Steps to reproduce

      1. Log in
      2. Go to Control Panel > Workflow > Process Builder
      3. Open to Single Approver
      4. Click Update button

      Expected behavior

      The definition will be successfully updated

      Current behavior

      The definition won't be updated and no response can be seen in the UI. The following errors appear in the browser console (when Javascript fast load is disabled):

      Uncaught TypeError: Cannot read property 'ancestor' of null
          at component._focusInvalidFieldTab (form.js:243)
          at component.<anonymous> (oop.js:427)
          at DO.Method.exec (event-custom-base.js:271)
          at component.obj.(:7201/group/control_panel/anonymous function) [as focusInvalidField] (http://clouddb:7201/o/frontend-js-web/aui/event-custom-base/event-custom-base.js:152:36)
          at component.validate (aui-form-validator.js:1028)
          at Object._defaultSubmitFormFn (util.js:1130)
          at Y.CustomEvent.CEProto.fireComplex (event-custom-complex.js:256)
          at Y.CustomEvent._fire (event-custom-base.js:1071)
          at Object.fire (event-custom-base.js:2204)
          at util.js:1732
      _focusInvalidFieldTab @ form.js:243
      (anonymous) @ oop.js:427
      DO.Method.exec @ event-custom-base.js:271
      obj.(anonymous function) @ event-custom-base.js:152
      validate @ aui-form-validator.js:1028
      _defaultSubmitFormFn @ util.js:1130
      CEProto.fireComplex @ event-custom-complex.js:256
      _fire @ event-custom-base.js:1071
      fire @ event-custom-base.js:2204
      (anonymous) @ util.js:1732
      _proxy @ dependency.js:98
      (anonymous) @ oop.js:403
      args.(anonymous function) @ aui_sandbox.js:20
      _notify @ aui.js:1105
      (anonymous) @ aui.js:1021
      _notify @ aui.js:1105
      handleLoader @ aui.js:1250
      _finish @ aui.js:8227
      _onSuccess @ aui.js:8276
      complete @ aui.js:8515
      onSuccess @ aui.js:8577
      _finish @ aui.js:4994
      _next @ aui.js:5191
      _progress @ aui.js:5299
      onLoad @ aui.js:5091
      load (async)
      _insert @ aui.js:5165
      execute @ aui.js:4917
      _next @ aui.js:4695
      _load @ aui.js:4674
      js @ aui.js:4459
      _insert @ aui.js:8559
      (anonymous) @ aui.js:8612
      _continue @ aui.js:8595
      insert @ aui.js:8614
      _use @ aui.js:1313
      use @ aui.js:1020
      ALLOY.use @ aui_sandbox.js:25
      proxy @ dependency.js:73
      t.default @ post_form.es.js:39
      (anonymous) @ manage?p_p_id=com_liferay_portal_workflow_web_portlet_ControlPanelWorkflowPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_portal_workflow_web_portlet_ControlPanelWorkflowPortlet_mvcPath=%2Fdefinition%2Fedit_workflow_definition.jsp&_com_liferay_portal_workflow_web_portlet_ControlPanelWorkflowPortlet_redirect=http%3A%2F%2Fclouddb%3A7201%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_portal_workflow_web_portlet_ControlPanelWorkflowPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview&_com_liferay_portal_workflow_web_portlet_ControlPanelWorkflowPortlet_name=Single Approver&_com_liferay_portal_workflow_web_portlet_ControlPanelWorkflowPortlet_version=1:341
      _notify @ event-custom-base.js:1306
      notify @ event-custom-base.js:1335
      _notify @ event-custom-base.js:998
      _procSubs @ event-custom-base.js:1124
      CEProto.fireComplex @ event-custom-complex.js:223
      _fire @ event-custom-base.js:1071
      fire @ event-custom-base.js:2204
      onclick @ manage?p_p_id=com_liferay_portal_workflow_web_portlet_ControlPanelWorkflowPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_portal_workflow_web_portlet_ControlPanelWorkflowPortlet_mvcPath=%2Fdefinition%2Fedit_workflow_definition.jsp&_com_liferay_portal_workflow_web_portlet_ControlPanelWorkflowPortlet_redirect=http%3A%2F%2Fclouddb%3A7201%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_portal_workflow_web_portlet_ControlPanelWorkflowPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview&_com_liferay_portal_workflow_web_portlet_ControlPanelWorkflowPortlet_name=Single Approver&_com_liferay_portal_workflow_web_portlet_ControlPanelWorkflowPortlet_version=1:158
      

      Verified on

      master df792115e56ef201498de430d3311a10385fcbf0

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  37 weeks, 4 days ago

                  Packages

                  Version Package