[MGNLUI-2574] Remote select options should only get relevant child nodes Created: 14/Jan/14  Updated: 07/Mar/14  Resolved: 28/Jan/14

Status: Closed
Project: Magnolia UI
Component/s: forms
Affects Version/s: 5.2.1
Fix Version/s: 5.2.2

Type: Bug Priority: Neutral
Reporter: Eric Hechinger Assignee: Eric Hechinger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLDATA-243 DataSelectFieldFactory doesn't suppor... Closed
relation
is related to MSHOP-124 Can not select a shop in the page pro... 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
Date of First Response:

 Description   

Current situation:
In SelectFieldFactory, when we are building remote options (options pointing to another config node), we take all child nodes of the configured path.

Only magnolia child nodes may be taken into account.

We should add a predicate in order to filter the child nodes.
In addition subclassed should be able to overwrite this predicate.



 Comments   
Comment by Daniel Lipp [ 27/Jan/14 ]

Pls add tests covering the changes.

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