Discussion:
[Erp5-dev] Base_download proposed patch
Łukasz Nowak
2006-10-19 14:13:25 UTC
Permalink
Hello,

I've seen, that ERP5 File object has property sheet content_type, which
is more descriptive then getFormat(). So I've applied little patch to
Base_download and now I'm able to download eg. OODocument files which
are recognized by browser properly, attached as File portal_type object.

Bye,
Luke
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 392 10 60 int 37 fax: +48 32 392 10 61
https://ssl.ventis.com.pl/keys/lukasz.nowak.pub.asc
``Use the Source, Luke...''
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Base_download.xml-patch
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20061019/03d72e23/attachment.txt>
Loading...