[OGo-XML-RPC] Strange behavior in when using appointment.accept

Tobias Kaefer xmlrpc@opengroupware.org
Mon, 06 Aug 2007 10:55:11 +0200


Hi!

I'm wondering if this is a bug:

If I try to set the status of an appointment to accept - via  the
appointment.accept method - I'll get a "partStat_ACCEPT"-status in the
OGo-WebUI.
I did a litte research and found, that in the file
"<ogo-sources-dir>/XmlRpcAPI/Actions.subproj/DirectAction+Appointment.m"
the method
(id)appointment_acceptAction:(id)_apt
is setting the status to the string "ACCEPT":
return [self appointment_changeStatusAction:_apt:@"ACCEPT":nil:nil:nil];

But shouldn't this be "ACCEPTED"? The WebUI is using this as the value
to be stored in the database.

I think this should be filed as a bug, but I don't know if this was done
by purpose.

Greets
Tobias