cancel
Showing results for 
Search instead for 
Did you mean: 

Document update and MIME types

simon
Champ in-the-making
Champ in-the-making
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?
3 REPLIES 3

gavinc
Champ in-the-making
Champ in-the-making
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

simon
Champ in-the-making
Champ in-the-making
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.

gavinc
Champ in-the-making
Champ in-the-making
Yes, you're right it is getting rather long Smiley Sad

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