[MAGNOLIA-6112] Add mime mapping for .map Created: 10/Mar/15  Updated: 10/Oct/16  Resolved: 03/Feb/16

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 5.3.7, 5.4
Fix Version/s: 5.3.13, 5.4.5

Type: Improvement Priority: Neutral
Reporter: Richard Gange Assignee: Roman Kovařík
Resolution: Fixed Votes: 1
Labels: quickwin, support
Remaining Estimate: 0d
Time Spent: 10m
Original Estimate: Not Specified

Attachments: XML File config.server.MIMEMapping.map.xml    
Issue Links:
causality
is causing MAGNOLIA-6807 Core incorrectly bootstraps dam-app's... Closed
duplicate
is duplicated by MAGNOLIA-6329 Add mime mapping for extension map 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)
Date of First Response:
Sprint: Kromeriz 29
Story Points: 1

 Description   

Nowadays a lot of frontend tools use source maps files (we do this in the new travel-demo too).

Unfortunately there is no MIME mapping defined in the server configuration resulting in log.infos:

2015-07-31 08:45:02,768 INFO  info.magnolia.cms.beans.config.MIMEMapping        : Cannot find MIME type for extension "map"

Suggestion

Add a MIME mapping config;/server/MIMEMapping/map with mime-type=application/octet-stream (see: http://stackoverflow.com/a/19912684).



 Comments   
Comment by Christopher Zimmermann [ 12/Jan/16 ]

Also, its irritating to constantly get info messages in console:
2016-01-12 16:05:44,811 INFO info.magnolia.cms.beans.config.MIMEMapping : Cannot find MIME type for extension "map"

Comment by Jan Haderka [ 12/Jan/16 ]

Just out of curiosity, where do we use anything w/ .map extension?

Comment by Richard Gange [ 13/Jan/16 ]

had Have a look at pmundt's comment here MAGNOLIA-6329. He provides at least one scenario,

Comment by Christopher Zimmermann [ 13/Jan/16 ]

I moved those comments into this ticket.

Comment by Evzen Fochr [ 29/Jan/16 ]

octect-stream is "fine" but according to http://hul.harvard.edu/ois/systems/wax/wax-public-help/mimetypes.htm application/x-navimap is correct

Generated at Mon Feb 12 04:11:25 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.