Closed Bug 481256 Opened 17 years ago Closed 17 years ago

Broken image link when bugzilla is installed on IIS for charts and image attachments

Categories

(Bugzilla :: Reporting/Charting, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 464992

People

(Reporter: asa.ben-tzur, Unassigned)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB5; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2) Build Identifier: 3.2 Hi, We have recently installed bugzilla 3.2 on IIS server (windows XP). Bugzilla works great - THANKS !!. From first install we encountered a problem where images didn't display (bar/line/pie chart reports and image attachments). We got a well formatted HTML page with a "hole" the apropriate size of the image but instead of an image we saw the "broken link" icon (red 'X'). Nor error message was reported to the screen or event log. After exercising all the tips we could find over the net, I debugged the perl scripts and templates and finally managed to find a workaround for the problem. Using the workaround images now display correctly and again - we really enjoy using bugzilla - big thanks to all developers !! Workaround I used: I commented out the first line in Bugzilla.pm init_page function. This line applies binmode ':utf8' to stdout (conditional - if 'utf8' was chosen on the 'required settings' page). This works well for plain html pages but for some reason corrupts image display (since apperantly image display uses a different binmode setting, which seems to conflict with the above). As a result of commenting out this line it seems that all is working well. Note that we only use English in our installation, so I assume this workaround may break true unicode usage. Thanks and good luck Asa Note: Instalation was done by me together with an IT person. None of us has any previous experience with Bugzilla. Note2: This is a pure display bug. We submitted image attachments although we couldn't see them. Once the workaround was applied all attachments started displaying correctly. Reproducible: Always Steps to Reproduce: 1.Install bugzilla 3.2 on windows-xp/IIS 2.In required settings, use 'utf8' on. 3.Ask for any graphical report (bar/line/..) or image attachment. Actual Results: Ask for any graphical report (bar/line/..) or image attachment. Expected Results: broken image link (red 'X' icon). Displayed the image :-) Note the workaround which resolved the bug in my full description.
You should upgrade to 3.2.2.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.