[Zope-dev] Zope Tests: 2 OK, 3 Failed

2008-09-25 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Wed Sep 24 11:00:00 2008 UTC to Thu Sep 25 11:00:00 2008 UTC.
There were 5 messages: 5 from Zope Tests.


Test failures
-

Subject: FAILED (failures=1) : Zope-2.10 Python-2.4.4 : Linux
From: Zope Tests
Date: Wed Sep 24 20:54:45 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-September/010217.html

Subject: FAILED (failures=1) : Zope-2.11 Python-2.4.4 : Linux
From: Zope Tests
Date: Wed Sep 24 20:56:15 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-September/010218.html

Subject: FAILED (failures=1) : Zope-trunk Python-2.4.4 : Linux
From: Zope Tests
Date: Wed Sep 24 20:57:45 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-September/010219.html


Tests passed OK
---

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Tests
Date: Wed Sep 24 20:51:44 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-September/010215.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Tests
Date: Wed Sep 24 20:53:15 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-September/010216.html

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope] webdav upload - controlling type, hook

2008-09-25 Thread Jakob Schou Jensen
When uploading a file to the zope db using the webdav interface zope select
on object type based on the file contents (or extension?). For instance when
I upload a html file it becomes a DTML document. Is there any way to control
what type of object is selected?

Additionally I would like to execute some script code after a webdav upload.
Is there any way to get a hook or callback or something similar?

Thanks,

Jakob
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] webdav upload - controlling type, hook

2008-09-25 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jakob Schou Jensen wrote:
 When uploading a file to the zope db using the webdav interface zope select
 on object type based on the file contents (or extension?). For instance when
 I upload a html file it becomes a DTML document. Is there any way to control
 what type of object is selected?
 
 Additionally I would like to execute some script code after a webdav upload.
 Is there any way to get a hook or callback or something similar?

You need to implement the 'PUT_factory' hook for your container:

  http://wiki.zope.org/zope2/PUTFactory


Tres.
- --
===
Tres Seaver  +1 540-429-0999  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI2+lV+gerLs4ltQ4RAkEAAJ9vdWXskaVEB4IJAjFnxJc9HQ7K8ACgiCBy
7oWAtfQCkvyVKHfQ3B6NQzA=
=uAf+
-END PGP SIGNATURE-

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )