Document update and MIME types

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2006 05:56 AM
Hi,
1. Let's say I upload an Excel document: somefile.xls
2. I update this file with a plain text file: otherfile.txt
3. The contents are overwritten but the title is still somefile.xls
4. Inline editing isn't possible although this is just a plain text file
4. I update this file again but with a picture this time: somepicture.jpg
5. The contents are overwritten but the file is useless because Alfresco still thinks this is an Excel file
Maybe some MIME type testing before updating wouldn't hurt? Don't know what direction would be best here, maybe the update of an Excel file with a plain text file is still acceptable but the JPEG certainly isn't, isn't it?
1. Let's say I upload an Excel document: somefile.xls
2. I update this file with a plain text file: otherfile.txt
3. The contents are overwritten but the title is still somefile.xls
4. Inline editing isn't possible although this is just a plain text file
4. I update this file again but with a picture this time: somepicture.jpg
5. The contents are overwritten but the file is useless because Alfresco still thinks this is an Excel file
Maybe some MIME type testing before updating wouldn't hurt? Don't know what direction would be best here, maybe the update of an Excel file with a plain text file is still acceptable but the JPEG certainly isn't, isn't it?
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2006 04:10 AM
You're right this is a bug, i have raised it as such on JIRA so you can track it's progress: http://www.alfresco.org/jira/browse/AWC-444

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2006 04:23 AM
Thanks Gavin, I just needed some confirmation before adding it to JIRA. The list is long enough without my issues. :wink:
:!: Did some extra checks and it seems that it's not only the MIME type that's missing it's true for ALL the metadata. If I update or check in a new version (metadata was changed) the metadata in the Alfresco system isn't updated.
:!: Did some extra checks and it seems that it's not only the MIME type that's missing it's true for ALL the metadata. If I update or check in a new version (metadata was changed) the metadata in the Alfresco system isn't updated.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2006 05:03 AM
Yes, you're right it is getting rather long
I have updated the bug with the extra information you've provided.

I have updated the bug with the extra information you've provided.
