[MGNLUI-2824] AbstractFormKeyGenerator API should be complemented with getParentName(...) method Created: 24/Apr/14  Updated: 20/Mar/17  Resolved: 20/Mar/17

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.2.x, 5.3
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Aleksandr Pchelintcev Assignee: Aleksandr Pchelintcev
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
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)

 Description   

There exists AbstractI18nKeyGenerator#getIdOrNameForUnknownRoot method which resolves the name of the given definition's root parent.

However, there is sometimes a need to resolve the name of the direct parent. For instance, there is FieldDefinitionKeyGenerator#getParentName method which does it. That method could be a nice improvement to the AbstractI18nKeyGenerator API.


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