[MAGNOLIA-7975] Restoring a version should set proper activation status Created: 17/Apr/20  Updated: 20/May/21  Resolved: 19/May/21

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 5.7.9, 6.2.5
Fix Version/s: 5.7.11, 6.2.9

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: maintenance, quickwin
Remaining Estimate: 0d
Time Spent: 0.25d
Original Estimate: Not Specified

Issue Links:
causality
Template:
Patch included:
Yes
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
[X]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Release notes required:
Yes
Sprint: Maintenance 57, Maintenance 58
Story Points: 2

 Description   

If you restore the first version of a page, the node has no property mgnl:activationStatus, so the status of the page is shown as red. But the page is still online and available on the public nodes (because it was published), so the status should be yellow. This leads to some confusion amongst editors.

If you restore a version of a page that is not activated (unpublished) it should be red. So you need to consider what was the status of the page before restoring the version.

Notes
Right about here we should set activation status.


Generated at Mon Feb 12 04:28:30 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.