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

Older versions of Web Content previews shows the newest versions content

    Details

      Description

      Description
      After editing a Web Content, the older version in history preview shows the newest version's content.

      Steps to Reproduce

      1. Go to Site Administration>Content>Web Content and create a Basic Web Content article:
        Title - "1st Web Content"
        Content - "1st Content"
        Publish the article.
      2. Preview the Article, you should see "1st Content"
      3. Close the Preview and edit the Article:
        Title - "1st Web Content Edited"
        Content - "1st Content Edited"
        Publish the article
      4. Select View History
      5. On Version 1.0 - 1st Web Content, select Preview

      Expected Result
      Preview displays the old content: "1st Content"
      Actual Result
      Preview displays the current version's content: "1st Content Edited"

      You can test to see the old Content is available by creating a copy of the old version. The copy will have and preview the old content.

      Reproduced in:
      ee-7.0.x: 190ac69ff76ff14a164d7312f75ace0a8bd5689c
      master: 622815ae9c383e044921e1bf9910035f28d9f344

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 6 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP28
                7.0.X EE
                7.0.4 CE GA5
                7.1.X
                Master