Unable to modify or update Google calendar events

Bug #955707 reported by iMac
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
evolution-data-server
Fix Released
Medium
evolution-data-server (Ubuntu)
Fix Released
Undecided
Mathieu Trudel-Lapierre

Bug Description

When attempting to save a modified event (update a meeting date and time to tomorrow), evolution returns:
»Cannot modify calendar object: Unexpected HTTP status code 412 returned
(Existing event has different ETag)«

This also occurs when trying to update attendee status after receiving a confirmation by email.

I am using current 3.2.3-0ubuntu4 on 12.04 Beta.

The upstream patch is a workaround for a bug in libical48, which apparently has an escape character issue, as described upstream but patched in evolution to workaround.

I tested the patch, re-attached here against current 3.2.3 sources, and it is simple and applies cleanly and resolves this problem completely.

upstream: https://bugzilla.gnome.org/show_bug.cgi?id=669003

Steps to Reproduce:
1. Configure Online-Accounts OR add a Google Calendar manually
2. Open Calendar, enter password
3. Try to change or delete existing event
4. Get error message: Cannot modify calendar object: Unexpected HTTP status
code 412 returned (Existing event has different ETag)

Actual results:
Not able to manage already existing events.

Expected results:
Should be able to manage already existing events.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: evolution-data-server 3.2.3-0ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Thu Mar 15 00:11:05 2012
ProcEnviron:
 TERM=xterm
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: evolution-data-server
UpgradeStatus: Upgraded to precise on 2012-03-13 (1 days ago)

Revision history for this message
iMac (imac-netstatz) wrote :
Changed in evolution-data-server:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch for eds event modification issue" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report

Hey Mathieu, do you think you could have a look to that issue?

Changed in evolution-data-server (Ubuntu):
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in evolution-data-server (Ubuntu):
status: New → Confirmed
Revision history for this message
iMac (imac-netstatz) wrote :

Any reason this patch hasn't made its way into current 12.04 Beta? I have been using it for quite some time and want to avoid setting selections manually.

It is a simple, straightforward fix, for a 100% repeatable issue that has been triaged and patched upstream.

Along with recently released https://bugs.launchpad.net/evolution-data-server/+bug/847578, this makes Google calendar work again (been broken since Natty).

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

iMac, I'm looking at this now, will upload with the patch shortly.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evolution-data-server - 3.2.3-0ubuntu6

---------------
evolution-data-server (3.2.3-0ubuntu6) precise; urgency=low

  * debian/patches/git_libical_unescape_quote_830fa86.patch: workaround
    brokenness in libical 0.48: unescape quotes, since libical escapes them.
    (LP: #955707)
  * debian/patches/git_google_categories_matching_d2d75b5.patch: correctly
    align categories with Google contacts. (LP: #957695)
  * debian/patches/git_addressbook_use_after_free_6f6f415.patch: another small
    cherry-pick from git: fix a possible use-after-free case in the addressbook
    backend for Google contacts.
 -- Mathieu Trudel-Lapierre <email address hidden> Fri, 30 Mar 2012 14:47:54 -0400

Changed in evolution-data-server (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
iMac (imac-netstatz) wrote :

resolved and working great for me so far, thanks MTL

Revision history for this message
Peleg Michaeli (peleg) wrote :

Still happens here when I'm trying to remove a calendar item:
"The event could not be deleted due to an error: Cannot remove calendar object: Unexpected HTTP status code 412 returned (Existing event has different ETag)"

evolution 3.2.3 on ubuntu 12.04.
packages are updated from reps; including evolution-data-server.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.