Details
-
Bug
-
Resolution: Outdated
-
Minor
-
None
-
2.01, 3.0 RC4
-
None
-
Tested on Mac OS X, Linux and Windows and with multiple browsers.
Description
I have a paragraph, which allows me to upload multiple images, and another one for multiple files.
If at least two files have the same file name, I get the following exception:
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
info.magnolia.cms.Filter.MultipartRequestFilter.doFilter(MultipartRequestFilter.java:76)
info.magnolia.cms.Filter.ContentTypeFilter.doFilter(ContentTypeFilter.java:52)
root cause
java.lang.NullPointerException
info.magnolia.cms.beans.runtime.Document.delete(Document.java:153)
info.magnolia.cms.gui.control.Save.save(Save.java:242)
org.apache.jsp.admintemplates.dialogs.standard_jsp._jspService(standard_jsp.java:103)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
info.magnolia.cms.Filter.MultipartRequestFilter.doFilter(MultipartRequestFilter.java:76)
info.magnolia.cms.Filter.ContentTypeFilter.doFilter(ContentTypeFilter.java:52)
Workaround:
Upload the files with the same file name sequentally.
Checklists
Attachments
Issue Links
- is duplicated by
-
MAGNOLIA-1064 In Dialog with 2 File Upload Controls, Uploading The Same File to Both Causes Failure
-
- Closed
-