On Aug 16, 2008, at 11:06 , Dieter Maurer wrote: > The easiest way to determine the "uid" is probably > to locate the object via a catalog search. You will get a catalog > proxy > for the object, often also called "brain". > This proxy has the method "getPath()" > which returns the object's "uid" -- don't ask about the inconsistent > naming (at one place "uid", at another one "path").
The naming is not inconsistent. The UID happens to be the path by default, but it doesn't need to be. The getPath method returns the path, not the UID. jens _______________________________________________ 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 )