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

Revert button should be grey for out of date Publications

    Details

      Description

      Steps to reproduce

      1. Start bundle 7.3.10 GA1
        1. Enable Publications
        2. Add a new publication "P1"
        3. Add a new web content
        4. Publish "P1"
      2. Upgrade to master
      3. Navigate to Published

      Actual Result:
      The Revert button is not grey.
      Click the Revert button > Revert and Create Publication button, the message shows up and on the console, it throws the error.

      Error:Unable to revert "P1" because it is out of date with the current release.
      2020-12-17 10:08:11.367 ERROR [http-nio-8080-exec-8][UndoCTCollectionMVCActionCommand:106] com.liferay.change.tracking.exception.CTLocalizedException: Unable to undo P1 because it is out of date with the current release
      com.liferay.change.tracking.exception.CTLocalizedException: Unable to undo P1 because it is out of date with the current release
      

      Expected Result:
      The Revert button should be grey and have the alert message like

      This Publication was created on the previous release. You can not revert the Publication.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              linda.sui Linda Sui
              Reporter:
              linda.sui Linda Sui
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Engineering Assignee:
              Samuel Tran
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                10 weeks, 4 days ago

                  Packages

                  Version Package
                  Master