Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-4473

Restore command does not restore the selected version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 4.5.3
    • Fix Version/s: 4.5.7
    • Component/s: admininterface
    • Labels:
      None
    • Magnolia Release:
      4.5.7

      Description

      The Restore command does not restore the selected version. It sometimes restores the "latest" version instead. The Restore button is only enabled when you select a list item but the command does not act on the selected item.

      To reproduce, first build a version history:

      1. Edit a page. Make a change you that can identify later, for example change the first word on the page to "Monday".
      2. Activate the page. Set the workflow comment to "Monday".
      3. Repeat two times using "Tuesday" and "Wednesday". Now you have a basic version history, see version-history.png

      Then restore the first version:

      1. Select the first version (Monday) and click Restore.
      2. The system creates a new version of the content and adds it to the list, see 1st-versioning.png

      Issue: The system displays a message "Successfully restored latest version", see message.png. But that's not what you selected. You selected the first version (Monday).

      Restore again:

      1. Select Monday again and click Restore.
      2. This time the system versions the content you selected (Monday) and applies the correct workflow comment, see 2nd-versioning.png

      The problem is that the system responds differently to the same user action. First it versions the latest version (Wednesday), then the user-selected version (Monday).

        Attachments

        1. 1st-versioning.png
          1st-versioning.png
          69 kB
        2. 2nd-versioning.png
          2nd-versioning.png
          72 kB
        3. message.png
          message.png
          94 kB
        4. version-history.png
          version-history.png
          50 kB

          Issue Links

            Activity

              People

              Assignee:
              mdivilek Milan Divilek
              Reporter:
              ahietala Antti Hietala
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: