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

Error message and exception in logs happens when accessing a Workflow App that have a pending entry withdrawn

    Details

      Description

      Steps to Reproduce

      1. Go to Applications > App Builder > Objects
      2. Create an Object with Form and Table View
      3. Go to Applications > App Builder > Apps > Workflow Powered
      4. Create a Workflow App that contains at least one extra step and deploy it
      5. Open the App and add an entry to it
      6. Go to Applications > Workflow > Submissions
      7. Withdraw the pending task
      8. Access the App again

      Actual Result

      • Error message and exception in logs happens
      java.lang.RuntimeException: com.liferay.portal.kernel.workflow.WorkflowException: Workflow instance not found with company ID 20098 and asset class PK 38386
      	at com.liferay.portal.vulcan.util.TransformUtil.transform(TransformUtil.java:48)
      	at com.liferay.app.builder.workflow.rest.internal.resource.v1_0.BaseAppWorkflowDataRecordLinkResourceImpl.transform(BaseAppWorkflowDataRecordLinkResourceImpl.java:157)
      	at com.liferay.app.builder.workflow.rest.internal.resource.v1_0.AppWorkflowDataRecordLinkResourceImpl.postAppAppWorkflowDataRecordLinksPage(AppWorkflowDataRecordLinkResourceImpl.java:68)
      

      Expected Result

      • No error message or exception should be seen

      Reproduced In

      • master: 80d7bbaa23c8ee6aecfab2953b64447e94103366

        Attachments

          Activity

            People

            • Assignee:
              rodrigo.cunha Rodrigo Cunha
              Reporter:
              rodrigo.cunha Rodrigo Cunha
              Participants of an Issue:
              Recent user:
              Brian Wulbern
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.3.4 CE GA5
                Master