Details
-
Improvement
-
Status: Closed
-
Top
-
Resolution: Fixed
-
r2.09.03
-
None
-
None
Description
We use a MySQL database for our repository.
This database has a setting called "max_allowed_packet"
What this does is determine what the max blob size is.
When we try to upload a pdf file that is larger than this setting, for example 1Mb
The repository will just say 0 bytes and the pdf wont work.
Also when we upload a pdf that might have a corrupt header or something also shows as 0 bytes.
This is confusing for the users of the cms, they dont know what database is behind the cms, and they shouldn't
They get no notification that something went wrong.
My suggestion is to improve the way the cms handles this kind of issues and implement errors or warnings in the cms.