Bug #33580 Bugs system does not accept file attachments
Submitted: 29 Dec 2007 10:48 Modified: 29 Dec 2007 16:49
Reporter: Giuseppe Maxia Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Websites: bugs.mysql.com Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any
Tags: attachment, bugs, file

[29 Dec 2007 10:48] Giuseppe Maxia
Description:
When attaching a screenshot to a bug report, I got this error message (user ID removed):

INSERT INTO bugdb_files
  SET bug = '33579', user = 'XXXXX', 
  description = 'screenshot of installation failure',
  private = 0, file_content = , file_ctype = '',
  file_fname = 'installation_failure.png', ts = NOW()

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' file_ctype = '', file_fname = 'installation_failure.pn' at line 3

Tested on Mac OS X 10.4 and 10.5, with Firefox 2 and Safari

How to repeat:
see above

Suggested fix:
As a workaround, I used the FTP server.
[29 Dec 2007 15:30] Valeriy Kravchuk
Thank you for a bug report. Verified just as described (I tried to attach file to this bug report...)
[29 Dec 2007 16:49] Jim Winstead
cat picture

Attachment: 100_0936.JPG (image/jpeg, text), 33.06 KiB.

[29 Dec 2007 16:49] Jim Winstead
fixed now, disk was full, logs have been moved to correct (huge) partition.