[MGNLUI-581] Lookup of an action implementation in BaseFactory based on the definition type is completely random Created: 05/Jun/12  Updated: 07/Jun/13  Resolved: 07/Jun/13

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

Type: Bug Priority: Major
Reporter: Tobias Mattsson Assignee: Tobias Mattsson
Resolution: Obsolete Votes: 1
Labels: actions, architecture
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLUI-1175 Convert ui-model into ui-api Closed
is related to MGNLUI-656 Actions API: Refactor action execution Closed
is related to MGNLUI-877 Factories should not copy contents of... Closed
supersession
is superseded by MGNLUI-1590 Replace FieldValidatorRegistry with a... 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

 Description   

In info.magnolia.ui.model.builder.FactoryBase#resolveImplementationClass we loop the mappings and goes with the first we find that is a match. Since the mappings are in a HashMap the order is completely random.


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