[MGNLUI-3175] AbstractVersionAction should not depend on JcrNodeAdapter Created: 29/Sep/14  Updated: 05/Dec/14  Resolved: 30/Sep/14

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

Type: Improvement Priority: Neutral
Reporter: Philip Mundt Assignee: Philip Mundt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLWORKFLOW-272 Make use of new "localized" compariso... Closed
dependency
is depended upon by MGNLDIFF-74 Diff module is not i18n aware on sing... 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)

 Description   

info.magnolia.ui.framework.action.AbstractVersionAction 's constructor currently depends on JcrNodeAdapter making it impossible for other actions to extend this action (i.e. Task - related actions).

Instead subclasses should add JcrNodeAdapter to the constructor.

We should deprecate the constructor.



 Comments   
Comment by Philip Mundt [ 30/Sep/14 ]

info.magnolia.ui.contentapp.browser.action.ShowVersionsAction should use new constructor.

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