[ZCM] [ZC] 571/ 3 Comment "Can't call methods on a ZPT object
because of weird path traversal"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Thu May 6 07:30:13 EDT 2004
Issue #571 Update (Comment) "Can't call methods on a ZPT object because of weird path traversal"
Status Rejected, Zope/bug medium
To followup, visit:
http://collector.zope.org/Zope/571
==============================================================
= Comment - Entry #3 by chrisw on May 6, 2004 7:30 am
Not to mention the fact that there are probably a lot of people (including me! ;-) who rely on this feature heavilly.
________________________________________
= Reject - Entry #2 by Caseman on Apr 29, 2004 5:41 pm
Status: Pending => Rejected
ZPT subclass the same script base class as Python scripts. This has a traversal hook that eats the subpath following the template. This is probably fixable, but the level of effort does not seem worthwhile IMO.
________________________________________
= Request - Entry #1 by djay on Sep 16, 2002 8:20 pm
If I have a python method M1 and a ZPT, Z1 and I use the url Z1/M1 I don't get the behaviour I expect. I think something about the path traversal code that ZPT uses to do things like the "source.html" functionality must screw up normal aquisition type method calling. I'm not sure how to get the traversal path when using a python script so I'm not sure how could use a url such as "M1/Z1" as an alternative, although even if I could it doesn't strike me as very nice way of doing it. Not very OO.
==============================================================
More information about the Zope-Collector-Monitor
mailing list