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

Issue with Workflow unassignment for Documents and Media folders

    Details

      Description

      Steps to reproduce:
      1. Start a clean Liferay bundle
      2. Deploy Kaleo Web
      3. Go to Control Panel -> Documents and Media
      4. Add a new Folder
      5. Edit your Folder and set "Define specific document type restrictions and workflow for this folder." to Single Approver workflow
      Optional: Check the WORKFLOWDEFINITIONLINK table in the database, and confirm that a new entry was created
      6. Edit your Folder again, and this time set it back to "Use document type restrictions and workflow of the parent folder."
      Optional: Check the WORKFLOWDEFINITIONLINK table in the database, and confirm that the created entry is still there
      7. Attempt to deactivate Single Approver workflow
      Result: You will get an error message: "You cannot deactivate or delete this definition. There are process instances that reference this definition."
      Workaround: Set the Folder to "No workflow" before setting it to use the parent folder's restrictions

        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:
                  5 years, 49 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.0 CE RC1