[ http://jira.magnolia.info/browse/MAGNOLIA-285?page=all ]

Philipp Bracher updated MAGNOLIA-285:
-------------------------------------

    Fix Version: 3.0 RC1
                     (was: 3.0 Beta 1)

> Uploading multiple files with the same filename causes exception
> ----------------------------------------------------------------
>
>          Key: MAGNOLIA-285
>          URL: http://jira.magnolia.info/browse/MAGNOLIA-285
>      Project: magnolia
>         Type: Bug

>   Components: core
>     Versions: 2.01
>  Environment: Tested on Mac OS X, Linux and Windows and with multiple 
> browsers.
>     Reporter: Andreas Weder
>     Assignee: Philipp Bracher
>      Fix For: 3.0 RC1

>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to