Forum OpenACS Q&A: Re: Result more than one row in cr_content_mime_type_map for a mime type

Both are correct, the table does not have a unique constraint.

The code that relies on there only being one row is incorrect.

This was fixed in file-storage and acs-content-repository awhile ago. CVS web browser is down right now or I would link to the diffs.

Check revision-procs.tcl for cr_import_content and you should see the change in the latest version for sure.