mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #13155
[Bug 1193158] Re: Missing mime types
Well, I don't have a copy of IE8 on hand to test this with right now,
but I was able to replicate the error in IE6 as follows:
1. Get a Word document with the .docx file extension. (I've attached one
to this comment).
2. In IE6, go to the Content -> Files page in Mahara. Upload the docx
file there.
Expected result: It should show up with the generic "file" icon next to
it and be treated like a normal binary file.
Actual result: It shows up with the "Zip" icon, and has an "unzip"
option available.
The patch supplied didn't fix this problem for IE6. BUT, it doesn't
claim to, it's supposed to fix the problem for IE8. So, once I can get a
copy of IE8 to test this out on (or if someone else wants to test the
patch), we should be able to upstream it.
** Attachment added: "A .docx file for testing"
https://bugs.launchpad.net/mahara/+bug/1193158/+attachment/3782044/+files/Test.docx
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1193158
Title:
Missing mime types
Status in Mahara ePortfolio:
In Progress
Bug description:
There are critical mime types missing for support of docx, pptx, xlsx files.
I believe this may work:
Add the following to htdocs/artefact/file/filetypes.xml
<filetype>
<description>docx</description>
<mimetypes>
<mimetype>application/vnd.openxmlformats-officedocument.wordprocessingml.document</mimetype>
</mimetypes>
</filetype>
<filetype>
<description>pptx</description>
<mimetypes>
<mimetype>application/vnd.openxmlformats-officedocument.presentationml.presentation</mimetype>
</mimetypes>
</filetype>
<filetype>
<description>xlsx</description>
<mimetypes>
<mimetype>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</mimetype>
</mimetypes>
</filetype>
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1193158/+subscriptions
Follow ups
References