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

Wrong page version is published using workflow and Staging --> Page Versioning

    Details

      Description

      Reproduction steps:

      0.) Use a vanilla 7.1 bundle with fix pack dxp-11.
      1.) Create a page with name "Comune".
      2.) Create child pages under "Comune" with names "Servizio1", "Servizio2" and "Servizio3".
      3.) Enable local staging and page versioning for public page.
      4.) Change the name of page "Comune" to "Comune di Milano".
      5.) Select Ready for Publication and publish to live the new page name.
      Checkpoint: Now we have in staging and live environments the same pages. The page tree is
      Welcome (home)
      Comune di Milano
      Servizio1
      Servizio2
      Servizio3

      6.) In Control Panel → Your site → Configuration → Page Revision enable workflow (Single Approver) for Page Revision.
      7.) Make a change in the page "Servizio1" (for example add a portlet to it).
      Checkpoint: Now in staging environment the page "Servizio1" is in state "Draft".
      8.) On page "Servizio1" click on "submit for publication".
      Checkpoint:

      now in staging environment the page "Servizio1" is in state "pending".
      now in staging environment the page "Comune di Milano" is in state "pending" too (is it correct? we have not changed it directly but only a child page).
      9.) In my workflow tasks approve the changes only for page "Servizio1".
      Checkpoint:
      now in staging environment the page "Servizio1" is in state ready for publication.
      now in staging environment the page "Comune di Milano" is still in state "pending".
      10.) Publish to live the page "Servizio1" and switch to live environment.
      Result:
      -> the page "Servizio1" is correct
      -> the page "Comune di Milano" has the old name "Comune" (WRONG!)

      Expected result:
      Since we have no made changes to the page "Comune di Milano" it should be in state "ready for publication" and not in state "pending" and if we publish to live only the child page "Servizi1" only this page is published and in live the page "Comune di Milano" is at its last revision.

      Also tested:
      master @ commit (7b68cd39048c83af6beecbffda6ecc34eb49d040) reproduced

        Attachments

          Activity

            People

            • Assignee:
              maria.kispal Mária Kispál (Inactive)
              Reporter:
              robert.gusztus Róbert Gusztus
              Participants of an Issue:
              Recent user:
              Kimberly Chau (Inactive)
              Engineering Assignee:
              Róbert Gusztus
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.1.10 DXP FP14
                7.1.X
                7.2.10 DXP FP1
                7.2.X
                7.2.1 CE GA2
                Master