[MGNLUI-4169] Simplify FieldDefinitionKeyGenerator's logic of parent names collection Created: 20/Mar/17 Updated: 08/Mar/21 |
|
| Status: | Open |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.5.2, 6.2 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Aleksandr Pchelintcev | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoR: |
Empty
|
||||||||
| Description |
|
{FieldDefinitionKeyGenerator#getParentName()}} method can be replaced with a AbstractI18nKeyGenerator#getIdOrNameForUnknownRoot(..) with a little bit of refactoring and care. This would allow us to simplify the internal logic of the field definition key generator. |