Re: files NOT stored in mediadb

Niels Dettenbach <[email protected]> Fri, 28 Jun 2013 13:58:03 +0200
Newsgroups gmane.comp.cms.zms.devel
Organization Syndicat IT&Internet
Message-ID <2746791.J0XNV3Nidn@gongo>
--nextPart3572158.AD7Tpc39hJ
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"

Am Freitag, 21. Juni 2013, 13:55:27 schrieben Sie:
> <dtml-call 
> "setObjProperty('audiofile_playout',FileFromData(data=audiofile_playout,file
> name=filename_playout))">

Just a small question, before i may go in the wrong direction:

 - is this the usual behaviour of setObjProperty('myfile', myfile) (in i.e. 
onChangeObjEvt) on file objects that files are stored (as blobs) in the ZODB? 

If i use image objects with the setObjProperty('myfile', myfile) (or the newer 
"setattr") instead they are stored in the mediadb filesystem as wanted.

 - is there any special method to use or option (like "mediadbStorable" in 
some other methods) to get file objects on special objects get stored in the 
mediadb?
 
many thanks in advance for any hint,


Niels.

-- 
 ---
 Niels Dettenbach
 Syndicat IT & Internet
 http://www.syndicat.com
 PGP: https://syndicat.com/pub_key.asc
 ---
 




--nextPart3572158.AD7Tpc39hJ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAABCAAGBQJRzXpLAAoJEM78prARigUnCD0QAKFzOyzh+eROlb8Gdbhx6ZwO
9t43MqJvoPTj8AVSazIAqfIxtdcrk4SahtwK7Vw6/SYCN/j/GQBGOdoWzdJUlMtq
Zaz3bcEKzL3ZdP5nqxYm0mHC+WwpMdSoLAfcZZu+WGukEWj+35TIHt/PiyjdYOuv
AVx8LLClpAcx926hRFQFrDNXb919yDI49D+2YPVyx6ajUZN0ykQylxyhrytV4MSy
J5WHQUKJb9pT2vy8LcUkte1Gpx9ubmS346HjIhZaGJRO/Z++YKGQxnb8/MB4IYxy
0xlCfiaQshpHK2EaiaNzc1ewUdJE6u9Q9OhFlc74tnAr/lYIaoz/TkJUmdGbtmBk
84k5tHqHQmzhw2zdEg6/QxAZ+TmOp77b35jrFzVvogWvDHmYncwBn2C5F6HdqQAk
Q9M8A/DK2npf+1dyXvoDRB9KXOKpq3o3oD/zOMuv2NEsN9cvFGC8RVICeL29vWR/
xh5s33Iy86tKLPQRDPi1wxvH1C8YQVQ5oe7fYYo2hlRfUZ+w48aHIcikudnjT3V0
6C6l3LmLMcn5v4yNZjdovg1xmYoVyv/4ZsNq54EsCbEQEhO0hRwKB5M8Kh+KhF0W
EVYBtLAfnm4DY7CNBEO8kVC2QyvFVXeDJnjvL6O9aUNRa1EhL1h2UXTIV4HAyPYC
Z3o5m3rlimklEiBNFL1X
=zlKH
-----END PGP SIGNATURE-----

--nextPart3572158.AD7Tpc39hJ--