> Now, when I upload a Word attachment I get a "Failed to determine
> filetype" (PDF results in mime-type PDF (which is also incorrect and
> should be "application/pdf" if I understand Pierre correctly)).
Word is hard to determine. I don't think MMBase currently supports a good way to detect Word docs. The PDF-bug is a known bug. We located it, it should be fixed in 1.7 or 1.6.4 (maybe Michiel can confirm this?).
The problem is in the magic.xml file (a config file in the root configuraton directory), which contains directive son how to determine a file's type.
This file is not complete, and sometimes contains errors (as with the pdf). However you can edit it so it can recognize the documents you want to detect.
In the editwizards on my own system, when updating attachements I make use of a combobox which allows users to manually set the document type. It's not ideal but it works fine.
Pierre
