[MGNLUI-2771] DefaultAction : EditItemAction doesn't check for "allowed" nodeType from its definition Created: 24/Mar/14  Updated: 24/Apr/14  Resolved: 09/Apr/14

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

Type: Bug Priority: Neutral
Reporter: Philip Mundt Assignee: Aleksandr Pchelintcev
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
supersession
is superseded by MGNLUI-2782 As a user, I cannot use a content app... 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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: JCR-agnostic content apps
Sprint: 5.3 Sprint 4, 5.3 Sprint 5

 Description   

Problem:

DefaultAction : EditItemAction doesn't check for "allowed" nodeType from its definition.

Symtoms:

One can also edit folders with default editor.

Note:

Maybe there are other default actions that have to be adjusted.

Solution:

  • Migrate info.magnolia.ui.contentapp.detail.action.AbstractItemActionDefinition's property nodeType to
  • info.magnolia.ui.api.availability.AvailabilityDefinition's subNodes Collection<String> getNodeTypes()
  • This will require update in MVHs of ContentApps &
  • Adjustments of bootstrap files

Generated at Mon Feb 12 08:59:59 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.