![]() |
|
|
|
|
Change By:
|
Marek Swiecznik
(29/Oct/13 11:55 AM)
|
|
Description:
|
Having a CompositeField containing a Static field and any non-static field, e.g. TextField, after typing some text in TextField, CompositeTransformer fails in method writeToItem:
{{
relatedFormItem.addItemProperty(compositePropertyName, newValues.getItemProperty(propertyName));
}}
for
{{
propertyName
}}
= Static field property name,
setup
{{newValues.getItemProperty(propertyName)}} is {{null}}. CompositeField configuration
in attachment.
Caused by: java.lang.NullPointerException at info.magnolia.ui.vaadin.integration.jcr.JcrNodeAdapter.addItemProperty(JcrNodeAdapter.java:112) at info.magnolia.ui.form.field.transformer.composite.CompositeTransformer.writeToItem(CompositeTransformer.java:86) at info.magnolia.ui.form.field.transformer.composite.CompositeTransformer.writeToItem(CompositeTransformer.java:58) at info.magnolia.ui.form.field.transformer.TransformedProperty.setValue(TransformedProperty.java:67) at info.magnolia.ui.form.field.AbstractCustomMultiField$1.valueChange(AbstractCustomMultiField.java:129)
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------