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

Workflow definitions for folders won't get imported

    Details

      Description

      Steps to reproduce:

      1. Create a folder
      2. Edit it to modify the structure Restrictions and Workflow to "Default Workflow for this Folder"
      3. Select "Single Approver version"
      4. Save folder
      5. Export the folder into a lar file
      6. Verify that restrictionType has been properly exported in the lar file
      7. Go to another site
      8. Import lar file
      9. Edit the newly imported folder to check Workflow

      Expected result:
      Folder is with Default Workflow for this Folder option and Single Approver

      Actual result:
      Folder appears with Use Structure Restrictions and Workflow of the Parent Folder (Home)

       

      An example of the exported and imported folders from journalfolder table:

      'd13353eb-1170-57a1-fe03-d61ceee9573d', '36776', '36770', '20099', '20139', 'Test Test', '2018-07-10 10:00:13.664000', '2018-07-10 10:02:54.276000', '0', '/36776/', 'test folder', NULL, '2', NULL, '0', '0', NULL, NULL
      'd13353eb-1170-57a1-fe03-d61ceee9573d', '36823', '36791', '20099', '20139', 'Test Test', '2018-07-10 10:00:13.664000', '2018-07-10 10:02:54.276000', '0', '/36823/', 'test folder', NULL, '0', NULL, '0', '0', NULL, NULL
      

      Also attached an example Journal Portlet Export

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.0.0 DXP FP76
                  7.0.10.11 DXP SP11
                  7.0.X
                  7.1.10 DXP FP1
                  7.1.1 CE GA2
                  7.1.10.1 SP1
                  7.1.X
                  Master