Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049062 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 00. Application dictionary | minor | always | 2022-04-14 10:46 | 2022-04-26 13:08 | |||
Reporter | jmelin | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | high | Resolution | fixed | Fixed in Version | PR22Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | f817c84b8251 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | AugustoMauch | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2020-11-09 | |||||||
Regression introduced in release | PR21Q1 | |||||||
Regression introduced by commit | https://gitlab.com/openbravo/product/openbravo/-/commit/f9de9389948227a1510d21a57811818a1e9c880c [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0049062: JIRA 2879 - Backoffice - can't import a bmp file | |||||||
Description | When trying to import a bmp file using an image import button Then an error is triggered that said only jpg, png or bmp can be imported So bmp can't be imported despite being an authorized type | |||||||
Steps To Reproduce | Connect to back office Open "Products" window and select any product Try to import a bmp as product image => Error is triggered and image is not imported | |||||||
Tags | No tags attached. | |||||||
Attached Files | Capture.PNG [^] (11,681 bytes) 2022-04-14 10:48
Sans titre.bmp [^] (2,222 bytes) 2022-04-14 10:48 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||||||||||||||
|
Notes | |
(0136582) hgbot (developer) 2022-04-19 11:26 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/560 [^] |
(0136633) hgbot (developer) 2022-04-20 14:00 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/560 [^] |
(0136634) hgbot (developer) 2022-04-20 14:00 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: f817c84b82512b66e82755471015f241e3917a7f Author: Cristian Berner <cristian.berner@openbravo.com> Date: 19-04-2022 11:46:48 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/f817c84b82512b66e82755471015f241e3917a7f [^] Fixes ISSUE-49062: can't import a bmp file After switching from using tika library to using the jdk URLConnection guessContentTypeFromStream implementation to determine the mimetype of an uploaded file, this broke. The URLConnection implementation is not able to guess if a file is a bmp image or not, it will detect it as a binary file. To fix this, if it is not detected using this API, ImageIO API is used to try and read the file, if that's successful, then the file is a bmp image file. Regression introduced by commit 2d1e219013bf482f68d4c6809f367dcad8f28e7d --- M src/org/openbravo/erpCommon/utility/MimeTypeUtil.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2022-04-14 10:46 | jmelin | New Issue | |
2022-04-14 10:46 | jmelin | Assigned To | => Triage Platform Base |
2022-04-14 10:46 | jmelin | Triggers an Emergency Pack | => No |
2022-04-14 10:48 | jmelin | File Added: Capture.PNG | |
2022-04-14 10:48 | jmelin | File Added: Sans titre.bmp | |
2022-04-19 10:52 | cberner | Regression level | => Production - Confirmed Stable |
2022-04-19 10:52 | cberner | Regression date | => 2020-11-09 |
2022-04-19 10:52 | cberner | Regression introduced by commit | => https://gitlab.com/openbravo/product/openbravo/-/commit/f9de9389948227a1510d21a57811818a1e9c880c [^] |
2022-04-19 11:16 | cberner | Assigned To | Triage Platform Base => cberner |
2022-04-19 11:18 | cberner | Project | POS2 => Openbravo ERP |
2022-04-19 11:19 | cberner | Status | new => scheduled |
2022-04-19 11:26 | hgbot | Note Added: 0136582 | |
2022-04-20 14:00 | hgbot | Note Added: 0136633 | |
2022-04-20 14:00 | hgbot | Resolution | open => fixed |
2022-04-20 14:00 | hgbot | Status | scheduled => closed |
2022-04-20 14:00 | hgbot | Fixed in Version | => PR22Q3 |
2022-04-20 14:00 | hgbot | Note Added: 0136634 | |
2022-04-20 14:55 | alostale | Modules | => Core |
2022-04-20 14:55 | alostale | Regression introduced in release | => PR22Q1 |
2022-04-20 14:55 | alostale | Severity | major => minor |
2022-04-20 14:55 | alostale | Category | Core => 00. Application dictionary |
2022-04-20 14:55 | alostale | Regression introduced in release | PR22Q1 => PR21Q1 |
2022-04-20 15:56 | alostale | Relationship added | caused by 0045086 |
2022-04-26 13:07 | cberner | Status | closed => new |
2022-04-26 13:07 | cberner | Resolution | fixed => open |
2022-04-26 13:07 | cberner | Fixed in Version | PR22Q3 => |
2022-04-26 13:07 | cberner | Status | new => scheduled |
2022-04-26 13:08 | cberner | Status | scheduled => resolved |
2022-04-26 13:08 | cberner | Fixed in Version | => PR22Q3 |
2022-04-26 13:08 | cberner | Fixed in SCM revision | => https://gitlab.com/openbravo/product/openbravo/-/commit/f817c84b82512b66e82755471015f241e3917a7f [^] |
2022-04-26 13:08 | cberner | Resolution | open => fixed |
2022-04-26 13:08 | cberner | Review Assigned To | => AugustoMauch |
2022-04-26 13:08 | cberner | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |