Add extensions to assets in the full media export

Bug #101798 reported by Kit Blake
4
Affects Status Importance Assigned to Milestone
Silva
Fix Released
Low
Eric Casteleijn

Bug Description

When doing a full media export, all assets are assigned a number as the file
name. But since there is no file extension, they're not very usable if you open
the zip to extract, say, all the images. The export code can include the
extension to make this more friendly.

There is an issue with backwards compatibility, but if the code disregards the
extension this should be possible.

Tags: silva-1.6
Revision history for this message
Eric Casteleijn (thisfred) wrote :

Done in 1.6. Please test a little.

Revision history for this message
Wim Boucquaert (wim-boucquaert) wrote :

i tested it and all assets are sil numbers only, tested on the trunk

Revision history for this message
Eric Casteleijn (thisfred) wrote :

Ok, I'll have another look at this

Revision history for this message
Eric Casteleijn (thisfred) wrote :

fixed.

Revision history for this message
Eric Casteleijn (thisfred) wrote :

Bengt Giger reports:

> - assets without a proper suffix do not get the correct meta type after
> import, ie. PDFs are tagged as plain/html.

So it appears that the mime type isn't taken along correctly in the export, and only the file extension in the original zope id is used.

Changed in silva:
milestone: none → 2.1
status: Fix Released → In Progress
Changed in silva:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.