[Zope] Clarification: uncatalog_object question
Jonathan
dev101 at magma.ca
Wed Oct 11 09:01:14 EDT 2006
Thanks for the response Chris, but it is about 2 years too late!
If you look at the email source you will see my original post was dated from
2004. I have been getting several zope mails from 2004, the mailman must be
pooched!
Thanks for the effort though!
Jonathan
----- Original Message -----
From: "Chris Withers" <chris at simplistix.co.uk>
To: "Jonathan Hobbs" <toolkit at magma.ca>
Cc: <zope at zope.org>
Sent: Tuesday, October 10, 2006 6:44 AM
Subject: Re: [Zope] Clarification: uncatalog_object question
> Jonathan Hobbs wrote:
>>> I used catalog-aware objects and just deleted the object in the folder
>>> and
>>> the object was automatically removed from the zcatalog).
>>
>> I don't understand why the uid of 1049298593 works in retrieving the
>> record
>> from the zcatalog, but not when used to delete the record from the
>> zcatalog?! (I have looked at the code in Catalog.py and nothing in the
>> uncatalog_object method provides any hints as to why this problem is
>> occuring).
>
> Be careful the difference between the internal document id used by the
> catalog and the identifier the object was catalogued with.
>
> The latter is the physical path of the object unless you specify it...
>
> The latter is also what you need to pass to uncatalog an object...
>
> Chris
>
> --
> Simplistix - Content Management, Zope & Python Consulting
> - http://www.simplistix.co.uk
> _______________________________________________
> Zope maillist - Zope at 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 )
>
More information about the Zope
mailing list