[MGNLUI-6977] Order Of Versioned Pages Does Not Persist After Restore Created: 17/Sep/20  Updated: 20/Dec/21  Resolved: 20/Dec/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.15

Type: Bug Priority: Neutral
Reporter: Julian Nodarse Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: 0.25d
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2020-09-17 at 12.01.09 PM.png    
Issue Links:
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: Support
Sprint: Global Maintenance 3
Story Points: 3

 Description   

The order of the versions are not correct on the select field when you restore pages from previous versions.

Steps
Publish some page (the content of the page does not matter, nor does it matter if it’s a new page or an already existing page)
Continue publishing pages to create various versions.
Once you have several versions already, click on “restore version” and select any version that you’ve published.
Publish this newly restored version
Click on “Restore Version” or “Show version” again and click on the select dropdown menu on this dialog

Actual Result
You will see that the newly published version is not on the top of the list. It is somewhere in the middle of the list instead.

Expected Result
Have the most recent published version on the top of the list.

Additional Notes
I’ve tested this on Magnolia 6.2.3 and 5.7.3

Example
In the screenshot you can see that the most recent publish was at 11:36 , version 1.1.0, and is in some arbitrary position.


Generated at Mon Feb 12 09:41:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.