Votes
For: 1 (100%)
Against: 0 (0%)
Total: 1
August 27, 2008 09:36 PM
Jeff
I made a test install today and noticed that the attachments I was sending to bug reports were corrupt. After downloading them, I found out they seemed to have been truncated to 64 KiB!
- why is that?
- is there a way to remove that limit or change it? Could not find any, and if there is, it should be in the admin control panel too.
- how are files actually stored? I searched in all the folders, and could not find traces of the JPG and EXE I sent.
- why is that?
- is there a way to remove that limit or change it? Could not find any, and if there is, it should be in the admin control panel too.
- how are files actually stored? I searched in all the folders, and could not find traces of the JPG and EXE I sent.
September 1, 2008 12:43 PM
Jeff
ok, I see that attachments are saved directly into mysql, and bugzilla does that too, and that I need to set max_allowed_packet=1M
However, bugdar's code seems to have something in place to tell me that my attachments were to big, but I was never notified of that. It's a bug.
However, bugdar's code seems to have something in place to tell me that my attachments were to big, but I was never notified of that. It's a bug.
September 1, 2008 01:21 PM
Jeff
My mysql server was set to 16M by default. In this case, I don't understand why bugdar truncated the attachments.
December 22, 2008 03:01 AM
Skoczen
I have this error as well, and haven't been able to find a fix.
Does anyone have a workaround?
Does anyone have a workaround?
June 21, 2010 09:51 AM
Miry
2 years later, same bug... I upload attachments, if it is an image you can't see the whole image... if it is a ZIp or RAR... when downloading it only downloads 64kb.
:(
:(
June 22, 2010 11:12 AM
Miry
OK. Apparently the solution is:
Going to the table Attachments and change the type of the field "attachment" from BLOB" to "MEDIUMBLOB".
Somebody just fixed it in our server..
Going to the table Attachments and change the type of the field "attachment" from BLOB" to "MEDIUMBLOB".
Somebody just fixed it in our server..
June 22, 2010 11:46 AM
Robert
Miry, you're absolutely right. The documentation states that BLOB has a capacity of 2^16 bytes, while MEDIUMBLOB has 2^24.