[MAGNOLIA-2358] Default mimetype icon not displayed in trees Created: 10/Sep/08  Updated: 23/Jan/13  Resolved: 10/Sep/08

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: 3.5.9, 3.6.2, 3.6.3

Type: Bug Priority: Major
Reporter: Capitaine Harold Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLDMS-121 Icon general.png not displayed in dms... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Go in the dms section, add a new document as name.sh. The file icon is not displayed because the image path is not good.

The problem comes from the file MIMEMapping.java. When the load is done at the beginning, if the mime mapping node doesn't contains an "icon" nodedata it takes by default general.png instead of the constant DEFAULT_ICON that contains the full path.

See the patch in attachment.



 Comments   
Comment by Magnolia International [ 10/Sep/08 ]

patch applied to trunk and 3.5 branch, thanks !

Generated at Mon Feb 12 03:35:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.