-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: Master
-
Component/s: Workflow > Upgrade
-
Branch Version/s:7.2.x
-
Backported to Branch:Committed
-
Fix Priority:5
-
Git Pull Request:
Steps to Reproduce:
- Import attached database dump from 7.0.10.6
- Upgrade to 7.1-DXP/master-private
- Start portal after upgrade
- Go to Content > Forms
- Add a new form with a text field
- Set form to "Single Approver" workflow
- Publish form
- Go to Publication URL
- 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