Johan Carlsson [Torped] wrote:

> Hi all,
> The collector seems to still be offline?

> I just realized that the unrestrictedTraverse returns self
> for the empty-string url: ''
> I did expect it to return the root object because the empty-string
> is equal to the path tuple ('',).

You convert from a path tuple to a path like this:


While you're correct that the path tuple ('',) is equivalent to the path 
'', I thing the path '' means "current object".

So, the root would be represented by the path '/', and therefore the 
tuple ('','').

I guess I should go and read the traversal code again...

Steve Alexander
Software Engineer
Cat-Box limited

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to