Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
5.4.2
-
None
-
None
-
-
Empty show more show less
-
Kromeriz 9
-
1
Description
To reproduce just edit an existing asset, e.g. by setting a new property, then save it. On the UI all looks good and actually the property set is there in JCR, only in logs this stack trace is shown. See also related issue. Apparently there some code tried to read JCR Property jcr:uuid whereas here it tries to write it.
2015-09-09 10:51:22,184 ERROR a.ui.vaadin.integration.jcr.AbstractJcrNodeAdapter: Could not set JCR Property jcr:uuid
javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.
at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:276)
at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:248)
at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:278)
at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:726)
at org.apache.jackrabbit.core.NodeImpl$SetPropertyOperation.perform(NodeImpl.java:2058)
at org.apache.jackrabbit.core.NodeImpl$SetPropertyOperation.perform(NodeImpl.java:2002)
at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1924)
at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1894)
at info.magnolia.jcr.wrapper.DelegateNodeWrapper.setProperty(DelegateNodeWrapper.java:392)
at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.setProperty(ContentDecoratorNodeWrapper.java:254)
at info.magnolia.jcr.wrapper.DelegateNodeWrapper.setProperty(DelegateNodeWrapper.java:392)
at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.setProperty(ContentDecoratorNodeWrapper.java:254)
at info.magnolia.jcr.wrapper.DelegateNodeWrapper.setProperty(DelegateNodeWrapper.java:392)
at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.setProperty(ContentDecoratorNodeWrapper.java:254)
at info.magnolia.jcr.wrapper.MgnlPropertySettingNodeWrapper.setProperty(MgnlPropertySettingNodeWrapper.java:146)
at info.magnolia.jcr.wrapper.DelegateNodeWrapper.setProperty(DelegateNodeWrapper.java:392)
at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.setProperty(ContentDecoratorNodeWrapper.java:254)
at info.magnolia.audit.MgnlAuditLoggingContentDecoratorNodeWrapper.setProperty(MgnlAuditLoggingContentDecoratorNodeWrapper.java:140)
at info.magnolia.jcr.util.PropertyUtil.setProperty(PropertyUtil.java:114)
at info.magnolia.ui.vaadin.integration.jcr.AbstractJcrNodeAdapter.updateProperty(AbstractJcrNodeAdapter.java:268)
at info.magnolia.ui.vaadin.integration.jcr.AbstractJcrAdapter.updateProperties(AbstractJcrAdapter.java:126)
at info.magnolia.ui.vaadin.integration.jcr.AbstractJcrNodeAdapter.updateProperties(AbstractJcrNodeAdapter.java:221)
at info.magnolia.ui.vaadin.integration.jcr.AbstractJcrNodeAdapter.applyChanges(AbstractJcrNodeAdapter.java:191)
at info.magnolia.ui.form.action.SaveFormAction.execute(SaveFormAction.java:90)
Checklists
Acceptance criteria
Attachments
Issue Links
- is related to
-
MGNLUI-3536 Unable to save dialog after uploading new image into dam
-
- Closed
-