[Zope-dev] Zope 2.12 webdav source browser doesn't appear to work

Tres Seaver tseaver at palladion.com
Fri Apr 17 12:49:54 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Withers wrote:
> Tres Seaver wrote:
>> It means that you have *part* of the WebDAV machinery wired up (hence
>> the NullResource objects) but not all of it (hence, you are trying to
>> render a ZPT which uses /path/to/template/macros/main).  Likely there is
>> a missing adapter registration or six in there.
> 
> I don't want no stinkin adapters here ;-)
> 
> I just want the good ol' fashioned Zope 2 webdav source port...
> 
> Why are *any* adapters I've wired up being used here?
> (I haven't wired up anything for webdav, only normal views and the like 
> I want used for http)

I'm sorry if I seemed to imply a bug in your application:  I meant to
point out that the *publisher* was finding the wrong published object
(one apprpirate to an IBrowserRequest), while some bits (path traversal
within the template) were finding the WebDAV-y bits.

Where the bug lies (in Zope or in your app) is not apparent from the
information you originally posted.


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

iD8DBQFJ6LMy+gerLs4ltQ4RAhauAKDNzWOSjgyEe/Q6doGaTLF3i1iO3ACfW+VI
j1B7owIH3JX+NzPTKCYjiUk=
=Xn2G
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list