[MGNLDMS-4] Exception on single file or zip upload Created: 06/Sep/06  Updated: 03/Jul/14  Resolved: 19/Sep/06

Status: Closed
Project: Document Management System (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1

Type: Bug Priority: Blocker
Reporter: Sameer Charles Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

1)
On zip upload

  • 404 Resource not found

2)
Exception while uploading a file via add document dialog:
------------------------------------------------------------------------------------------------------------------------------------
ERROR info.magnolia.cms.servlets.MVCServletHandlerImpl MVCServletHandlerImpl.java(execute:99) 06.09.2006 17:09:01 can't call command: save
java.lang.NullPointerException
at info.magnolia.module.dms.DocumentDialog.onPostSave(DocumentDialog.java:170)
at info.magnolia.module.admininterface.DialogMVCHandler.save(DialogMVCHandler.java:189)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
....................
....................
java.lang.NullPointerException
info.magnolia.module.dms.DocumentDialog.renderHtml(DocumentDialog.java:196)
info.magnolia.cms.servlets.MVCServlet.doPost(MVCServlet.java:112)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
------------------------------------------------------------------------------------------------------------------------------------



 Comments   
Comment by Philipp Bracher [ 19/Sep/06 ]

2) fixes see MAGNOLIA-1042

Comment by Philipp Bracher [ 19/Sep/06 ]

fixed.

the fix for the zipupload is very ugly, but this is an other task: MAGNOLIA-1004

Comment by Anthony Ogier [ 19/Sep/06 ]

Magnolia trunk doesn't build anymore duing to a typping error in RequestFormUtil.java.
Here is the patch :

Index: RequestFormUtil.java
===================================================================
— RequestFormUtil.java (revision 6425)
+++ RequestFormUtil.java (working copy)
@@ -140,7 +140,7 @@
return map;
}

  • public MultipartForm getFrom() {
    + public MultipartForm getForm() { return form; }

(and there is other from / form mistakes in this class)

Comment by Philipp Bracher [ 19/Sep/06 ]

fixed.

Actually I missed to commit the fix for the RequestFormUtil

Generated at Mon Feb 12 00:47:31 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.