Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028443 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | trivial | always | 2014-12-17 19:59 | 2014-12-30 23:28 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR15Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 61caa1dd9f99 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | dbaz | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 33109 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028443: Exception not handled after upload a non supported image | |||||||
Description | There 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 Reproduce | 1) Go to the [Product] window and try to upload the attached image (is a CMYK-encoded jpeg image) | |||||||
Proposed Solution | Capture the exception and inform in the application that the image the user is trying to upload is not supported. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(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 (viewer) 2014-12-22 12:33 |
Reviewed @ changeset 25583 - bd07f4b5032c |
(0073242) hudsonbot (viewer) 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 |
![]() |
|||
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 | OBNetwork customer | => Yes |
2014-12-17 19:59 | caristu | Modules | => Core |
2014-12-17 19:59 | caristu | Support ticket | => 33109 |
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 |