Details
-
Bug
-
Resolution: Duplicate
-
Neutral
-
None
-
None
-
None
-
None
-
-
Empty show more show less
-
Kromeriz 83
-
3
Description
In preview as visitor, if there is a valueField made of a composite field, the current change are not taken into account, always the previous selection is gotten.
On PreviewParametersPresenter:
private Field.ValueChangeListener valueChangeListener = new Property.ValueChangeListener() { @Override public void valueChange(Property.ValueChangeEvent event) { eventBus.fireEvent(new PreviewChangedEvent(itemDataSource)); } };
itemDataSource has the previous value not the current one, so the preview is not updated properly.
Attached you can find an example of fieldvalue config.modules.personalization-traits.traits.mytrait.valueField.xml
. With this configuration if you set a breakpoint in above code you are able to see that itemDataSource doesn´t have the correct information.
This issue seems to be similar to MGNLPN-304.
More information can be found in support ticket SUPPORT-7162.
Checklists
Attachments
Issue Links
- is superseded by
-
MGNLPN-304 Can't use linkfield for setting values of a trait in preview app
-
- Closed
-