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

Workflow cannot be used after upgrade to 7.1 DXP

    Details

      Description

      Steps to Reproduce:

      1. Import attached database dump from 7.0.10.6
      2. Upgrade to 7.1-DXP/master-private
      3. Start portal after upgrade
      4. Go to Content > Forms
      5. Add a new form with a text field
      6. Set form to "Single Approver" workflow
      7. Publish form
      8. Go to Publication URL
      9. Submit a form entry

      Expected Result:
      Workflow system will send a notification and put the form entry in "My Workflow Tasks"

      Actual Result:
      No Workflow notification. Asset is not present in "My Workflow Tasks"

      2018-06-11 16:27:40.302 ERROR [http-nio-8080-exec-3][TransactionCommitCallbackUtil:46] Unable to execute transaction commit callback
      com.liferay.portal.kernel.workflow.WorkflowException: com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException: No KaleoNode exists with the primary key 0
      	at com.liferay.portal.workflow.kaleo.runtime.internal.DefaultWorkflowEngineImpl.startWorkflowInstance(DefaultWorkflowEngineImpl.java:615)
      

      Note Not reproducible if any workflow assets are "Pending" during the upgrade process. This is the reason our current tests did not catch this issue. The tests have workflow assets that are in pending status.

      Not Reproducible on Master CE.

      Reproduced on Master-private: 5c8a34e6483b718ce06f0a5c528ba07d7e0dc06b

        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:
                  1 year, 26 weeks, 1 day ago

                  Packages

                  Version Package
                  7.1.X
                  7.2.X
                  Master