[Zope] deleting through iteration

Andy McKay andym@ActiveState.com
Wed, 25 Oct 2000 13:31:03 -0700


In a catalog, id is not the id of an object, data_record_id_ is.

----- Original Message -----
From: "Scott Burton" <scott@launchpoint.net>
To: "Zope List" <zope@zope.org>
Sent: Wednesday, October 25, 2000 11:19 AM
Subject: [Zope] deleting through iteration


> This seems as if it would work to delete all objects of a certain
meta-type
> but it gives me an error.
> <dtml-in "Catalog(meta_type='class_name')">
> <dtml-call "manage_delObjects(id,[REQUEST])">
> </dtml-in>
>
> The error is:
> Error Type: BadRequest
> Error Value: 971722944 does not exist
>
> Although, I know it does, I can see it in the ODB.
>
> TIA,
>
> Scott
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>