[MGNLPN-461] Restore previous version action should not be available on items without version history Created: 16/Jan/20  Updated: 23/Aug/22

Status: Open
Project: Magnolia Personalization
Component/s: Personas App
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Michael Duerig Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLPN-473 NPE when restoring the previous versi... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Team: AuthorX

 Description   

In the personas-app the action 'Restore prevision version' is available even if an item has no version history. This differs from other apps (e.g. segments, pages). I suggest we align persons-app and make that action not available for such cases.

Steps to reproduce

  • In the NEW personas app delete a persona
  • Export the deleted persona
  • Import it again into a new folder
  • Restore previous version is now accessible in the action bar even though the imported persona has no version history

Generated at Mon Feb 12 06:37:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.