Closed
Bug 88040
Opened 24 years ago
Closed 24 years ago
Can not attach binary files to bugs under Win2K
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
People
(Reporter: mfleming, Assigned: justdave)
Details
Attachments
(1 file)
1.68 KB,
image/gif
|
Details |
When creating an attachment to a binary file, it does not work, I am always
asked for the description.
Text files work, but when a binary file is selected it looks like the $::FORM
('data') field is filled out and the $::FILENAME('data') is filled out, but the
$::FORM('description') is always empty, causing the add to fail.
I was able to get around this by adding a default description if the
description was not given.
After doing so I tested the storage of the image in the database and had
problems with that. The data is the converted into a string and stuffed into a
field of type longblob, but it looks like some things are missing when you do
that, because the data that you retrieve is corrupted. I tested this with both
word and gif files, and got the same results.
I am running MYSQL version 3.23.27 for windows.
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
Is the problem that you're running bugzilla on Win2K? If it is, I think there
some binmode() magic that has to be done that isn't required on Unix based systems
Reporter | ||
Comment 3•24 years ago
|
||
I added
binmode( STDOUT );
binmode( STDIN );
before the require "CGI.pl"; line and everything worked!!
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•24 years ago
|
||
in search of accurate queries...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 5•24 years ago
|
||
*** This bug has been marked as a duplicate of 62000 ***
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 6•23 years ago
|
||
moving all closed Bugzilla bugs to the new Bugzilla product.
This batch is DUPLICATE/INVALID/WORKSFORME/WONTFIX
reassigning to default owner and QA in case of the bug being reopened.
Clearing milestones, since we really shouldn't have them on these types of
resolutions. Sorry for the spam everyone...
Assignee: tara → justdave
Status: RESOLVED → NEW
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: Bugzilla 2.12 → unspecified
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•