From: <ro...@us...> - 2008-11-03 20:15:01
|
Revision: 4863 http://openuss.svn.sourceforge.net/openuss/?rev=4863&view=rev Author: roekens Date: 2008-11-03 20:14:58 +0000 (Mon, 03 Nov 2008) Log Message: ----------- bugfixed file handling. after uploading a file b, uploading a file a and the editing file b (e.g. change filename), the inputstream of file b was overwritten, and the file got invalid. this is fixed now. Modified Paths: -------------- branches/openuss-plexus-3.1-light/plexus/plexus-web/src/main/java/org/openuss/web/upload/UploadFileManager.java Modified: branches/openuss-plexus-3.1-light/plexus/plexus-web/src/main/java/org/openuss/web/upload/UploadFileManager.java =================================================================== --- branches/openuss-plexus-3.1-light/plexus/plexus-web/src/main/java/org/openuss/web/upload/UploadFileManager.java 2008-11-03 17:31:56 UTC (rev 4862) +++ branches/openuss-plexus-3.1-light/plexus/plexus-web/src/main/java/org/openuss/web/upload/UploadFileManager.java 2008-11-03 20:14:58 UTC (rev 4863) @@ -65,7 +65,7 @@ */ public void removeDocument(UploadedDocument document) { Validate.notNull(document, "Parameter document must not be null!"); - + setSessionBean(Constants.UPLOADED_FILE, null); files.remove(document); document.remove(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |