[Zope] uncataloging
    Jens Vagelpohl 
    jens at dataflake.org
       
    Sat Aug 16 05:45:15 EDT 2008
    
    
  
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
    
    
More information about the Zope
mailing list