[Zope] Problem after deleting an object...

Josef Meile meile@imes.mavt.ethz.ch
Sun, 7 Apr 2002 19:00:52 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C1DE66.89B1DCD0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello to everybody!

I just made a tool to reserve terminals in a computer lab. It has two =
basic
functionalities:

- Make a reservation (calls the method "createInObjectManager")
- Cancel a reservation (calls the method "manage_delObjects")

As a manager user, I can make reservations as long as I want; however,
when I cancel a reservation and try to make another reservation, I get =
the
following error:

Zope Error
             Zope has encountered an error while publishing this =
resource.

             Error Type: AttributeError
             Error Value: _setObject

Does anybody knows how to solve it?

Thanks in advanced,
Josef.

------=_NextPart_000_0007_01C1DE66.89B1DCD0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello to everybody!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I just made a tool to reserve terminals =
in a=20
computer lab. It has two basic</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>functionalities:<BR><BR>- Make a =
reservation (calls=20
the method "createInObjectManager")</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- Cancel a reservation (calls the =
method=20
"manage_delObjects")</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>As a&nbsp;manager user, I can make =
reservations as=20
long as I want; however,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>when I cancel a </FONT><FONT =
face=3DArial=20
size=3D2>reservation&nbsp;and try to make another reservation, I get=20
the</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>following </FONT><FONT face=3DArial=20
size=3D2>error:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Zope Error</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;=20
Zope has encountered an error while publishing this =
resource.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;=20
Error Type:=20
AttributeError<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;=20
Error Value: _setObject</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Does anybody knows how to solve =
it?<BR><BR>Thanks=20
in advanced,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Josef.</FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01C1DE66.89B1DCD0--