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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028443
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformtrivialalways2014-12-17 19:592014-12-30 23:28
ReportercaristuView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Version3.0PR15Q1
StatusclosedFix in branchFixed in SCM revision61caa1dd9f99
ProjectionnoneETAnoneTarget Version3.0PR15Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Todbaz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028443: Exception not handled after upload a non supported image

DescriptionThere is a exception that is not being captured after uploading a non supported image by the java imageio library[1].

If the user tries to upload one of these images, the following exception is displayed in the log:

ERROR org.openbravo.erpCommon.info.ImageInfoBLOB - Error captured:
javax.imageio.IIOException: Unsupported Image Type

but the application doesn't show any message.

[1] http://stackoverflow.com/questions/7177655/java-imageio-iioexception-unsupported-image-type [^]
Steps To Reproduce1) Go to the [Product] window and try to upload the attached image (is a CMYK-encoded jpeg image)
Proposed SolutionCapture the exception and inform in the application that the image the user is trying to upload is not supported.
TagsNo tags attached.
Attached Filesjpg file icon logoOBCMYK.jpg [^] (9,919 bytes) 2014-12-17 19:59

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0072691)
hgbot (developer)
2014-12-18 10:46

Repository: erp/devel/pi
Changeset: 61caa1dd9f99e14def0ea59f9c33f28447ebdba7
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Dec 18 10:45:23 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/61caa1dd9f99e14def0ea59f9c33f28447ebdba7 [^]

fixed bug 28443: Exception not handled after upload a non supported image

  There were unhandled exceptions when uploading images, when in this case openbravo.log
  included info but this was not displayed to user.

  Now any exception occurred during image upload is caught and displayed in UI.

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-image.js
M src/org/openbravo/erpCommon/info/ImageInfoBLOB.java
---
(0072770)
dbaz (developer)
2014-12-22 12:33

Reviewed @ changeset 25583 - bd07f4b5032c
(0073242)
hudsonbot (developer)
2014-12-30 23:28

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6525fe229e06 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-12-17 19:59 caristu New Issue
2014-12-17 19:59 caristu Assigned To => AugustoMauch
2014-12-17 19:59 caristu File Added: logoOBCMYK.jpg
2014-12-17 19:59 caristu Modules => Core
2014-12-17 19:59 caristu Resolution time => 1419202800
2014-12-17 19:59 caristu Triggers an Emergency Pack => No
2014-12-17 19:59 caristu version => pi
2014-12-17 19:59 caristu Target Version => 3.0PR15Q2
2014-12-18 10:41 alostale Assigned To AugustoMauch => alostale
2014-12-18 10:41 alostale Review Assigned To => dbaz
2014-12-18 10:46 hgbot Checkin
2014-12-18 10:46 hgbot Note Added: 0072691
2014-12-18 10:46 hgbot Status new => resolved
2014-12-18 10:46 hgbot Resolution open => fixed
2014-12-18 10:46 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/61caa1dd9f99e14def0ea59f9c33f28447ebdba7 [^]
2014-12-22 12:33 dbaz Note Added: 0072770
2014-12-22 12:33 dbaz Status resolved => closed
2014-12-22 12:33 dbaz Fixed in Version => 3.0PR15Q1
2014-12-30 23:28 hudsonbot Checkin
2014-12-30 23:28 hudsonbot Note Added: 0073242


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker