Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012057
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2010-01-25 13:142010-03-10 18:29
ReportericiordiaView Statuspublic 
Assigned Toiperdomo 
PriorityurgentResolutionfixedFixed in Version2.50MP12
StatusclosedFix in branchFixed in SCM revisionf554d18c5f2f
ProjectionnoneETAnoneTarget Version2.50MP14
OSAnyDatabaseAnyJava versionany
OS VersionanyDatabase versionanyAnt versionany
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012057: ShowImage servlet should include mime types in the header

DescriptionIf you upload a png image, when this image is directly returned by ShowImage servlet the result is not properly rendered
Steps To Reproduce1.- 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
Proposed SolutionShowImage servlet should include mime type in its response
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0011353 closediperdomo Image Blob not working 
related to feature request 0012309 acknowledgedmarvintm Enhance the attachments window to automatically detect the MIME 
related to defect 0045086 closedcberner Remove Apache Tika library with already existing Java 7+ functionality 

-  Notes
(0024440)
hgbot (developer)
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 (developer)
2010-02-17 12:48

Now the ShowImage returns a response with defined content type (verified using Firebug).
(0024547)
hudsonbot (developer)
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 [^]

- Issue History
Date Modified Username Field Change
2010-01-25 13:14 iciordia New Issue
2010-01-25 13:14 iciordia Assigned To => iperdomo
2010-01-25 13:15 iciordia Status new => scheduled
2010-01-25 13:15 iciordia fix_in_branch => pi
2010-01-25 13:23 iperdomo Target Version => 2.50MP13
2010-01-25 13:23 iperdomo fix_in_branch pi =>
2010-02-16 12:13 iperdomo Relationship added related to 0011353
2010-02-16 20:13 hgbot Checkin
2010-02-16 20:13 hgbot Note Added: 0024440
2010-02-16 20:13 hgbot Status scheduled => resolved
2010-02-16 20:13 hgbot Resolution open => fixed
2010-02-16 20:13 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f554d18c5f2fa3e1a14c72b08fc44d5eefad0433 [^]
2010-02-16 20:44 jpabloae Relationship added related to 0012309
2010-02-17 12:48 marvintm Note Added: 0024487
2010-02-17 12:48 marvintm Status resolved => closed
2010-02-17 12:48 marvintm Fixed in Version => 2.50MP12
2010-02-18 00:00 anonymous sf_bug_id 0 =>
2010-02-18 00:31 hudsonbot Checkin
2010-02-18 00:31 hudsonbot Note Added: 0024547
2010-02-22 09:14 iperdomo Relationship replaced has duplicate 0011353
2010-03-08 16:06 jpabloae Target Version 2.50MP13 => 2.50MP14
2010-03-10 18:29 anonymous sf_bug_id => 2967993
2020-11-06 07:42 alostale Relationship added related to 0045086


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker