MIME type is lost when uploading content from Confolio

Description

When uploading a file the user can set a mimetype explicitly or leave it as "detect".
The mimetype is added in the entry-info but is gone when reloading the entry-info.
A reasonable explanation is that when the GUI does a PUT to upload the content the mimetype is set from what is given in the headers of the request and that overwrites the mimetype given manually in the creation step of the entry.

Environment

None

Activity

Show:
Hannes Ebner
October 9, 2013, 10:09 AM

Improved error handling on server side, but client has to properly set URL-parameter mimeType in case the default mime-type should be overriden or set.

Matthias Palmér
October 9, 2013, 8:12 AM

To recreate the problem:
Upload a file using EntryScape, choose more details, set a mimetype different from the file you are uploading and press finish.
If you later request the entry created you will see that the provided mimetype is not the one you gave, it is neither available in the entry information nor in the metadata graph.

The proper effect should be that the provided mimetype is set in the entry information instead of the auto-detected mimetype provided during the upload process (probably based on the extention and some smart introspection by the browser).

Hannes Ebner
April 5, 2012, 3:58 PM

Is this still an issue?

Fixed

Assignee

Hannes Ebner

Reporter

Matthias Palmér

Labels

None

Components

Fix versions

Priority

Normal