← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 891548] Re: [CRM] Modify meeting via CalDAV

 

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

** Tags added: maintenance

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
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