openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #10538
[Bug 891548] Re: [CRM] Modify meeting via CalDAV
Hi,
Could you please check if you still have this error with the updated
code?
Regards,
Roberto
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/891548
Title:
[CRM] Modify meeting via CalDAV
Status in OpenERP Addons (modules):
New
Bug description:
== Summary ==
When update meeting in calender software via CalDAV, client will receive 403 error.
== Setup and How to Reproduce ==
* Tested with a flash installation of OpenERP-server 6.0.3 with demo data, calendar sync by CalDAV enabled;
* Use a client softeware to sync the meeting calender ( Thunderbird + Lightning in my case);
* Open a synced meeting and try to do some modification ( I only change time every time) , you will received an "MODIFICATION FAILED" status with code 403.
== A little Digging ==
With debugging, we found this problem is occurred because both CalDAV module and orm tries to log the write_date of the record, we have the following in log:
ERROR:db.cursor:Programming error: multiple assignments to same column "write_date"
, in query update crm_meeting set "edit_all"=%s,"description"=%s,"date_deadline"=%s,"date"=%s,"vtimezone"=%s,"location"=%s,"recurrent_id"=%s,"class"=%s,"state"=%s,"base_calendar_url"=%s,"exdate"=%s,"write_date"=%s,"exrule"=%s,"base_calendar_alarm_id"=%s,"organizer"=%s,"duration"=%s,"name"=%s,write_uid=%s,write_date=now() where id IN %s
By the way, when using CalDAV, because we don't have context['lang'], we always get annoying debug info like:
DEBUG:translate:no translation language detected, skipping translation for "'AccessError'"
DEBUG:translate:no translation language detected, skipping translation for "'Operation prohibited by access rules, or performed on an already deleted document (Operation: %s, Document type: %s).'"
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/891548/+subscriptions
References