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

Site Content Reviewer role can be deleted despite Workflow Definition associated with it

    Details

      Description

      Steps to reproduce:

      1. Set up a vanilla Liferay.
      2. Create a web content folder and assign the Single Approver workflow to it.
      3. Create a new user and add him to the site, then assign him the Site Content Reviewer role for that site.
      4. Create a web content in that folder and submit for publication.
      Checkpoint: no error in Tomcat console, and the site content reviwer user gets a workflow task and notification about it
      5. Delete the Site Content Reviewer role
      6. Do step 4 again
      Result: "com.liferay.portal.kernel.exception.NoSuchRoleException: No Role exists with the primary key 30230" in console, and the user created at step 3 does not get a workflow task and notification

      Recreating manually a site role called Site Content Reviewer and assigning it to the user from step 3 does not help. The same happens when you try to submit a content for publication.

        Attachments

          Activity

            People

            • Assignee:
              raven.song Raven Song
              Reporter:
              istvan.dezsi Istvan Dezsi
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.0 DXP FP59
                7.0.0 DXP SP9
                7.0.X
                7.1.10 DXP FP3
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master