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

Workflow is not propagated from site template to site if classPK is 0

    Details

      Description

       

      *** Reproduction Steps:

      Create a site template.

      1. Go to Web Content > Edit root folder and set the workflow to "Single Approver".
      2. Create a site using your site template. When creating a site, check "Create default pages as private"
      3. Navigate to Web Content > Edit

      Expected: Workflow should be Single Approver.

      Actual: Workflow is not set.

      *** Reproduction Steps:

      1. Create a site template.
      2. Go to Web Content > Edit root folder and set the workflow to "Single Approver".
      3. Create a site using your site template. When creating a site,  don't check "Create default pages as private"
      4. Navigate to Web Content > Edit
      5. Check root workflow -> this a single Approve
      6. Add a Journal Article -> adding Articles does not apply to the workflow.
      7. Go to edit Root folder, change "Default Workflow for All Structures" to "No Workflow". -> change successfully.
      8. Back to Web content and go to edit Root folder again.

      Expected: If the root folder has no workflow, "Default workflow for all structures" will show "No workflow"

      Actual: Workflow always shows as "Single Approver" even though it is actually "No Workflow"

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              team-echo Product Team Echo
              Reporter:
              to.trinh To To Trinh
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
              Engineering Assignee:
              To To Trinh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.2.X
                  7.3.X
                  7.4.13 DXP GA1
                  Master