Last modified: 2014-06-25 12:50:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69076, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67076 - Bugzilla detect molfiles properly and but rejects them because they are "chemical" (major mime)
Bugzilla detect molfiles properly and but rejects them because they are "chem...
Status: RESOLVED INVALID
Product: Wikimedia
Classification: Unclassified
Bugzilla (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-25 11:18 UTC by Rainer Rillke @commons.wikimedia
Modified: 2014-06-25 12:50 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
FF RC; Screenshot illustrating the issue (37.13 KB, image/png)
2014-06-25 11:18 UTC, Rainer Rillke @commons.wikimedia
Details
corpus delicti (2.37 KB, text/plain)
2014-06-25 11:19 UTC, Rainer Rillke @commons.wikimedia
Details
how to reproduce (16.16 KB, image/png)
2014-06-25 11:21 UTC, Rainer Rillke @commons.wikimedia
Details

Description Rainer Rillke @commons.wikimedia 2014-06-25 11:18:09 UTC
Created attachment 15736 [details]
FF RC; Screenshot illustrating the issue

Original bug title:
Bugzilla detect molfiles properly and but rejects them because they are "chemical" (major mime not known to bugzilla)

This should be possibly reported upstream.
Comment 1 Rainer Rillke @commons.wikimedia 2014-06-25 11:19:36 UTC
Created attachment 15737 [details]
corpus delicti
Comment 2 Rainer Rillke @commons.wikimedia 2014-06-25 11:21:27 UTC
Created attachment 15738 [details]
how to reproduce

How to reproduce:
- download the corpus delicti
- make sure it has *.mol file extension
- select auto-detect for MIME type

Result:
The content type chemical/x-mdl-molfile is invalid. Valid types must be of the form foo/bar where foo is one of application, audio, image, message, model, multipart, text, video and bar must not contain any special characters (such as "=", "?", ...).
Comment 3 Andre Klapper 2014-06-25 11:39:31 UTC
Server-side stuff happens here: http://bzr.mozilla.org/bugzilla/4.4/view/head:/Bugzilla/Attachment.pm#L506
Comment 4 Rainer Rillke @commons.wikimedia 2014-06-25 12:49:05 UTC
Seems to be my config. I just don't know how it came there (I am quite sure I did not edit this file):

\AppData\Roaming\Mozilla\Firefox\Profiles\cskrpufn.default\mimeTypes.rdf
...

  <RDF:Description RDF:about="urn:mimetype:chemical/x-mdl-molfile"
                   NC:value="chemical/x-mdl-molfile"
                   NC:editable="true"
                   NC:fileExtensions="mol"
                   NC:description="MDL Molfile">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:chemical/x-mdl-molfile"/>
  </RDF:Description>

...

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links