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

Lost layouts when disabling remote staging with page variations

Details

    Description

      If you configure a remote staging environment using page variations, you could get problems when disabling the staging mode. If you have at least an additional variation configured, all layouts will be deleted when the staging mode will be disabled. This behavior could be dangerous.

      This behavior produces related errors. For example, if you have a page of "LinkToOtherPage" type in the site, you will get an undefined error when you disable remote staging.

      I show this case (in master) in the attached video. 

      Step to reproduce:

      1. Create a site (siteA) in the nodeA.
      2. Create a site (siteB) in the nodeB.
      3. Configure staging remote in siteA, enabling the variations page option.
      4. Create a page in siteA.
      5. In the page created, create a new variation.
      6. Check that the variation was created.
      7. Disable the staging remote.

       

       Expected result:
      The page created still existing in siteA.

       Actual result:
      The page was deleted.

      Attachments

        Issue Links

          Activity

            People

              joyce.wang Joyce Wang
              david.tello David Tello
              Kiyoshi Lee Kiyoshi Lee
              David Tello David Tello
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 29 weeks, 6 days ago

                Packages

                  Version Package
                  7.2.10 DXP FP14
                  7.2.10.5 DXP SP5
                  7.2.X
                  7.3.7 CE GA8
                  7.3.10 DXP FP2
                  7.3.X
                  7.4.1 CE GA2 DXP 7,4
                  7.4.13 DXP GA1
                  Master