[
http://jira.magnolia-cms.com/browse/MAGNOLIA-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26476#action_26476
]
Hudson CI server commented on MAGNOLIA-3065:
--------------------------------------------
Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif!
[magnolia_main-trunk
#1327|http://hudson.magnolia-cms.com/job/magnolia_main-trunk/1327/]
MAGNOLIA-3065: applied patch
> Error updating a binary nodedata
> --------------------------------
>
> Key: MAGNOLIA-3065
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3065
> Project: Magnolia
> Issue Type: Bug
> Components: core
> Affects Versions: 4.3 M1
> Reporter: Diego Schivo
> Assignee: Philipp Bärfuss
> Priority: Critical
> Fix For: 4.3
>
> Attachments: missing-else.patch
>
>
> The problem occurs when trying to save a dialog with a previously uploaded
> file (without changing that file):
> {code}
> javax.jcr.nodetype.ConstraintViolationException: /samples/sampleflv/image[2]:
> mandatory property {http://www.jcp.org/jcr/1.0}data does not exist
> at
> org.apache.jackrabbit.core.ItemImpl.validateTransientItems(ItemImpl.java:462)
> at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1066)
> at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:915)
> at
> info.magnolia.cms.core.DefaultHierarchyManager.save(DefaultHierarchyManager.java:513)
> at
> info.magnolia.module.admininterface.SaveHandlerImpl.save(SaveHandlerImpl.java:250)
> at
> info.magnolia.module.admininterface.DialogMVCHandler.onSave(DialogMVCHandler.java:312)
> at
> info.magnolia.module.admininterface.DialogMVCHandler.save(DialogMVCHandler.java:214)
> {code}
> I think the cause of the error is that method
> BinaryNodeData.getBinaryNode(boolean createIfNotExisting) creates a new
> binary-node even if there is already one, thus duplicating it (image[2]), and
> leaving the duplicate without any binary data (data does not exist), because
> no file was uploaded in the dialog.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------