[MGNLRES-133] Resources installed with InstallBinaryResourcesTask are missing mimeType Created: 09/Jan/15  Updated: 29/Mar/22  Resolved: 20/Feb/15

Status: Closed
Project: Magnolia Resources Module
Component/s: None
Affects Version/s: 2.3.2
Fix Version/s: 2.3.4

Type: Bug Priority: Neutral
Reporter: Richard Gange Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: quickwin, support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
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
Team: Nucleus

 Description   

It was noticed that images installed into the resources workspace no longer show a preview in the actionbar. After some investigation it was found that a missing jcr:mimeType property was causing the issue. It only appears to be affecting those images which were installed using the InstallBinaryResourcesTask. Importing images manually doesn't have any issues with the preview.

Turning on DEBUG for DefaultImageProvider shows the issue:
2015-01-09 09:26:57,340 DEBUG nfo.magnolia.ui.imageprovider.DefaultImageProvider: Could not get name or identifier from imageNode: jcr:mimeType


Generated at Mon Feb 12 06:47:43 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.