[OGo-XML-RPC] LSDBObjectCommandException - no participants set
Adam Tauno Williams
xmlrpc@opengroupware.org
Thu, 29 Jun 2006 09:32:38 -0400
On Sat, 2006-01-21 at 11:35 +0100, Helge Hess wrote:
> On Jan 21, 2006, at 4:21, Alejandro MartÃnez Marcos wrote:
> > The problem is that wether I try to insert an appointment
> > without any participants, or wether I put some participants in it, I
> > always get the same exception ("no participants set"). It seems that
> > this version of Ogo requires participants to insert and appointment,
> > and that there is some bug in xml-rpc (or I am doing something wrong
> > or have something misconfigured).
> I would expect that, in OGo every appointment must have a participant.
> The only thing I could imagine is that the xmlrpcd somehow uses the
> login user as the participant automagically if no other participants
> are passed in.
Yep, just confirmed that, if no participants are specified then the
creator is automatically assigned as a participant.
Sending
-----------------------
{'startDate': <DateTime '20060118T10:10:10' at b7c68bcc>, 'endDate':
<DateTime '20060118T11:15:10' at b7c7d68c>, 'title': 'Test Appointment
I'}
Appointment Created!
----------------------
{'startDate': <DateTime u'20060118T10:10:10' at b7c319ac>, 'endDate':
<DateTime u'20060118T11:15:10' at b7c319ec>, 'title': 'Test Appointment
I', 'participants': [{'password': '*************', 'dbStatus':
'updated', 'name': 'Williams', 'firstname': 'adam', 'companyId': 10410,
'number': 'OGo10410', 'objectVersion': 2, 'isLocked': 0, 'isAccount': 1,
'isExtraAccount': 0, 'isPerson': 1, 'ownerId': 10000, 'login': 'adam',
'isIntraAccount': 1, 'templateUserId': 9999}], 'location': '', 'id':
'skyrix://ws1.cable.orka.telecoms.bg/localhost.localdomain/10680'}
It really feels like it has to be some kind of packaging thing, because
it works perfectly on my OGo boxes. But I can't imagine how/what.
> Maybe you should create a bugreport on the matter and attach a small
> Python script which reproduces the issue.
http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1683
http://bugzilla.opengroupware.org/bugzilla/attachment.cgi?id=434&action=view