Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
3.0 RC2
-
None
-
None
-
Verified on systems running on Mac OS X and Red Hat, both with Derby and BDB PMs
Description
To recreate, use the included Dialog definition, and upload the same file as both the image and the thumbnail. The dialog will redisplay instead of closing, but the files won't be shown. Only one of the files is persisted to the JCR repository, and the log file shows this:
ERROR info.magnolia.module.admininterface.SaveHandlerImpl SaveHandlerImpl.java(save:178) 20.09.2006 11:49:14 /testing-site/contentParagraph/01/subPar/00/imageThumb: mandatory property
{http://www.jcp.org/jcr/1.0}data does not exist
javax.jcr.nodetype.ConstraintViolationException: /testing-site/contentParagraph/01/subPar/00/imageThumb: mandatory property
data does not exist
at org.apache.jackrabbit.core.ItemImpl.validateTransientItems(ItemImpl.java:545)
at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1147)
at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:805)
at info.magnolia.cms.core.HierarchyManager.save(HierarchyManager.java:528)
at info.magnolia.module.admininterface.SaveHandlerImpl.save(SaveHandlerImpl.java:175)
at info.magnolia.module.admininterface.DialogMVCHandler.onSave(DialogMVCHandler.java:286)
at info.magnolia.module.admininterface.DialogMVCHandler.save(DialogMVCHandler.java:185)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
etc...
etc...
Checklists
Attachments
Issue Links
- duplicates
-
MAGNOLIA-285 Uploading multiple files with the same filename causes exception
-
- Closed
-