Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012057Openbravo ERPA. Platformpublic2010-01-25 13:142010-03-10 18:29
iciordia 
iperdomo 
urgentminoralways
closedfixed 
5any
pi 
2.50MP142.50MP12 
Core
No
0012057: ShowImage servlet should include mime types in the header
If you upload a png image, when this image is directly returned by ShowImage servlet the result is not properly rendered
1.- Go to General Setup/Application/Client/Client window
2.- Go to Information tab
3.- Upload a png image in "Your company menu image"
4.- Go to grid mode and double click on that image

You get a pop-up with a number of symbols within it instead of the image
ShowImage servlet should include mime type in its response
No tags attached.
has duplicate defect 0011353 closed iperdomo Image Blob not working 
related to feature request 0012309 acknowledged marvintm Enhance the attachments window to automatically detect the MIME 
related to defect 0045086 closed cberner Remove Apache Tika library with already existing Java 7+ functionality 
Issue History
2010-01-25 13:14iciordiaNew Issue
2010-01-25 13:14iciordiaAssigned To => iperdomo
2010-01-25 13:15iciordiaStatusnew => scheduled
2010-01-25 13:15iciordiafix_in_branch => pi
2010-01-25 13:23iperdomoTarget Version => 2.50MP13
2010-01-25 13:23iperdomofix_in_branchpi =>
2010-02-16 12:13iperdomoRelationship addedrelated to 0011353
2010-02-16 20:13hgbotCheckin
2010-02-16 20:13hgbotNote Added: 0024440
2010-02-16 20:13hgbotStatusscheduled => resolved
2010-02-16 20:13hgbotResolutionopen => fixed
2010-02-16 20:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f554d18c5f2fa3e1a14c72b08fc44d5eefad0433 [^]
2010-02-16 20:44jpabloaeRelationship addedrelated to 0012309
2010-02-17 12:48marvintmNote Added: 0024487
2010-02-17 12:48marvintmStatusresolved => closed
2010-02-17 12:48marvintmFixed in Version => 2.50MP12
2010-02-18 00:00anonymoussf_bug_id0 =>
2010-02-18 00:31hudsonbotCheckin
2010-02-18 00:31hudsonbotNote Added: 0024547
2010-02-22 09:14iperdomoRelationship replacedhas duplicate 0011353
2010-03-08 16:06jpabloaeTarget Version2.50MP13 => 2.50MP14
2010-03-10 18:29anonymoussf_bug_id => 2967993
2020-11-06 07:42alostaleRelationship addedrelated to 0045086

Notes
(0024440)
hgbot   
2010-02-16 20:13   
Repository: erp/devel/pi
Changeset: f554d18c5f2fa3e1a14c72b08fc44d5eefad0433
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Tue Feb 16 20:13:22 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f554d18c5f2fa3e1a14c72b08fc44d5eefad0433 [^]

Fixes issue 12057: Added MimeTypeUtil class based on Apache Tika

---
M src/org/openbravo/erpCommon/utility/ShowImage.java
A lib/runtime/tika-core-0.6.jar
A src-test/org/openbravo/test/mimetypes/MimeTypeTest.java
A src/org/openbravo/erpCommon/utility/MimeTypeUtil.java
---
(0024487)
marvintm   
2010-02-17 12:48   
Now the ShowImage returns a response with defined content type (verified using Firebug).
(0024547)
hudsonbot   
2010-02-18 00:31   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f554d18c5f2f [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7c1b489fb0a0 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16459.obx [^]