Restore command does not restore the selected version
-----------------------------------------------------
Key: MAGNOLIA-4473
URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4473
Project: Magnolia
Issue Type: Bug
Security Level: Public
Components: admininterface
Affects Versions: 4.5.3
Reporter: Antti Hietala
Assignee: Philipp Bärfuss
Attachments: 1st-versioning.png, message.png, version-history.png
When restoring a prior version of a page, the Restore command does not restore
the selected version. It sometimes restores the "latest" version instead. This
is not consistent behavior. 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:
# Edit a page. Make a change you that can identify later, for example change
the first word on the page to "Monday".
# Activate the page. Set the workflow comment also to "Monday".
# Repeat two more times using "Tuesday" and "Wednesday". Now you have a basic
version history, see [^version-history.png] \\ \\
Restore a version:
# Select the first version (Monday) and click Restore.
# 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]. The message is accurate (the system actually restored
Wednesday) but it is inconsistent with what the user selected.
Restore again:
# Select Monday again and click Restore.
# This time the system versions the content you selected (Monday) and applies
the correct workflow comment, see [^2nd-versioning.png] \\ \\
Issue: The system provides a different response to the same user actions. First
it versioned the latest version (Wednesday). Then it versioned the
user-selected version (Monday). Inconsistent.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------