[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-dev
Subject:    Re: [Zope-dev] traversable methods / docstrings.
From:       Jean-Marc Orliaguet <jmo () ita ! chalmers ! se>
Date:       2006-01-30 15:42:00
Message-ID: 43DE33C8.5020805 () ita ! chalmers ! se
[Download RAW message or body]

Paul Winkler wrote:

>On Mon, Jan 30, 2006 at 11:34:17AM +0100, Jean-Marc Orliaguet wrote:
>  
>
>>Hi!
>>
>>I didn't know that methods needed to have docstrings to be traversable 
>>(it took me some time to find out why I was getting "Not found" errors 
>>on some of a tool's methods). Is there any reason to still have such a 
>>"feature" in Zope2.9? or at least maybe there could be a hint in the 
>>trace log.
>>    
>>
>
>I thought the docstring requirement only applied to publishing,
>not traversal per se?
>Do you get "Not found" when doing e.g. restrictedTraverse(some_path)?
>
>  
>

no then it works, and also when methods are called from inside page 
templates. That's the publisher that doesn't find it.

/JM




_______________________________________________
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 )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic