[MGNLUI-122] actionbar preview: mimetype should not be hardcoded Created: 01/Nov/12  Updated: 19/Jun/13  Resolved: 19/Jun/13

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Task Priority: Neutral
Reporter: Espen Jervidalo Assignee: Espen Jervidalo
Resolution: Fixed Votes: 0
Labels: apiteam
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Description   
  • In Actionbar class, the mimetype is set hardcoded in the setPreview method. this should be changed:
    Resource resource = new ExternalResource(previewPath, "image/png");
  • The mimetype gets configured in different places. imageProvider and the page-export-module interfere.

Generated at Mon Feb 12 08:33:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.