[Zope] Catalogaware ZClass
Dieter Maurer
dieter@handshake.de
Wed, 31 Jan 2001 21:16:57 +0100 (CET)
Sven Hohage writes:
> I try to delete a Catalogware ZClass with subobjects that are
> also ZClasses.
> That's my method to delete a Class:
> <dtml-in "objectValues('ZClassPage')">
> <dtml-let x=sequence-item>
> <dtml- if "in_work">
> <dtml-call "manage_delObjects([x.id])">
> </dtml-if>
> </dtml-let>
> </dtml-in>
>
> But Zope answers:
> An exception occurred in a DTML method or document.
>
> Error type: BadRequest
> Error value: 980785769 does not exist
> But '980785769' EXISTS in the management-interface !! :-((
The exception is raised in "manage_delObjects":
"980785769" is not an immediate child of the object
manager whose "manage_delObjects" you call.
Maybe, you get it from an unexpected object.
Dieter