[MGNLUI-3781] ActionDefinitionKeyGenerator supports only first ancestor key Created: 18/Feb/16  Updated: 12/May/16  Resolved: 12/May/16

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

Type: Bug Priority: Neutral
Reporter: Roman Kovařík Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 3.5h
Original Estimate: Not Specified

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: Introduction of new i18n
Story Points: 3

 Description   

info.magnolia.ui.api.action.ActionDefinitionKeyGenerator#getKeysFromAncestors:
final String key = ancestorGeneratedKeys.iterator().next();
That means only the first key generated from an anccestor (such as dialog) is taken into account. All the others are ignored.

This was discovered after integration of MGNLUI-3764, which adds new keys.


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