-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, 7.2.X, Master
-
Fix Version/s: 7.0.0 DXP FP85, 7.0.X, 7.1.10 DXP FP13, 7.1.X, 7.2.10 DXP FP1, 7.2.X, 7.2.1 CE GA2, Master
-
Component/s: DM, Image Editor
-
Branch Version/s:7.2.x, 7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:3
-
Sprint:029 - Nidoran
-
Git Pull Request:
Image conversation Error (PNG from a JPG)
Reproduction steps (probably can be reproduced without Adaptive Media as well)
1) Install Liferay with Adaptive Media deployed
2) Rename a jpeg file to test.image.JPG (uppercase extension is important)
3) Upload the file to document and media library with the Basic Uploader
4) Create a DDMStructure for WebContent with an Image type field save it as ImageStructure
5) Create a DDMTemplate for the ImageStructure that has been created in step 5
6) Create a WebContent based on ImageStructure
7) Select the Image uploaded in step 3
8) Click on the pencil icon for Edit
9) Resize the image
10) Apply the modification
11) Save the image
12) Click Add
13) Save the article
14) Go to Documents and Media
15) Open the image test.image.JPG.jpg (this is the copy of the original image with resized size)
16) Click on the Info icon
Expected result: metadata section reports that the content type is image/jpeg
Actual result: metadata section reports that the content type is image/png