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

Content Page modifications made after the "Ready for Publish Process" slider was previously selected for a versioned page are still published to the Live site

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 7.2.X, 7.3.X, Master
    • Fix Version/s: None
    • Labels:
    • Flagged:
      Impediment
    • Fix Priority:
      4

      Description

      Description
      When using page versioning with Staging, the user has the option to mark pages with the "Ready for Publish Process" slider. In general, when a page is marked with the "Ready for Publish Process" slider, that means that the page should be published in that exact state when doing a Publish to Live. Any modifications made to the page after the "Ready for Publish Process" slider was last clicked should not be published to Live.

      The page should be published to Live in the same state it was in at the most recent time that the "Ready for Publish Process" slider was clicked.

      However, this is not the behavior that occurs with Content Pages. With Content Pages, if the user has ever clicked the "Ready for Publish Process Slider" at least once, the page will always be published to Live in its most recent state, even if the most recent changes were made after the "Ready for Publish Process" slider was last clicked.

      This is a dangerous bug, because it makes the user prone to accidentally publish changes to Live that they had no intention to publish. The UI misleads the user into thinking their changes will not be published to Live, but they are.

      Steps to Reproduce
      1. Create a site "Test Site," then enable local live staging (at [Site Administration] > Publishing > Staging), enabling Page Versioning for public pages
      2. Add a public Content page to the Staging site, "Content Page," then click the initial “publish” button to save the page (to reveal the “Ready for Publication” slider when viewing the page again)
      3. In [Site Administration] > Publishing > Staging, perform a Publish to Live event with the default settings, then verify that the Live site does not include any visible pages
      4. Add a fragment (such as a Button) to the page, then click the blue “publish” button again.
      5. Select the “Ready for Publish Process” slider on Content Page 1
      6. Edit the page to add a second fragment (such as another Button) to the page, then click the blue “publish” button again
      Note: At this stage, do not re-select the "Ready for Publish Process" slider (which will have been moved to “Not ready” after step 6).
      7. Navigate to [Site Administration] > Pages > Site Pages > Publish to Live, then perform another publication using the defaults.
      Expected Result: The Live page is the way it appeared at the end of steps 4-5 (when you clicked the "Ready for Publish Process" slider.
      Actual Result: The Live page is the way it appeared at the end of step 6, even though the "Ready for Publish Process" slider was unchecked at that time and you had never re-checked it since making those edits.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              oziel.souza Oziel Souza
              Reporter:
              michael.bowerman Michael Bowerman
              Participants of an Issue:
              Recent user:
              Oziel Souza
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                18 weeks, 5 days ago

                  Packages

                  Version Package