Details
-
Bug
-
Resolution: Fixed
-
Minor
-
1.0 B1, 1.0 B2, 1.0 B3, 1.0 B4, 1.0 B5
-
None
Description
When uploading large files, two types of error could be thrown. One is related to the max packet size option in mysql (see http://dev.mysql.com/doc/mysql/en/Packet_too_large.html ), and the other is related to the upload_maxsize parameter of XWiki.
These exceptions are displayed in the page as java stack traces, which is not good. We should catch these exceptions and display a clear message, describing the problem and how to fix it.