On 03/30/2012 08:50 PM, Sergiu Dumitriu wrote:
On 03/30/2012 06:59 PM, Sergiu Dumitriu wrote:
On 03/30/2012 06:05 PM, Sergiu Dumitriu wrote:
On 03/30/2012 01:49 PM, Eugen Colesnicov wrote:
I wrote an jira issue about attachments problem on last Glassfish version 3.1.2 ... This bug related only with glassfish. For example, if you working with XWiki 3.4 and old glassfish - attachments works, after updating Glassfish to 3.1.2 (without any other changes) - stops working. http://jira.xwiki.org/browse/XWIKI-7674
Indeed, I could reproduce this. I'll look into it.
Looks like a GlassFish bug: http://java.net/jira/browse/GLASSFISH-18444
It seems that this is a regression in version 3.1.2 of GlassFish. Upload works fine in earlier versions, including 3.1.1. The quickest solution is to just downgrade to the previous version.
I know how to work around the problem, but the change would be too big to integrate in 3.5.1, so it will take a while until it becomes available in a stable release.
P.S.: If you don't know where to get 3.1.1, here it is: http://dlc.sun.com.edgesuite.net/glassfish/3.1.1/release/ -- Sergiu Dumitriu http://purl.org/net/sergiu/