Bug 312089 - Cannot create a new event in a google calendar
Summary: Cannot create a new event in a google calendar
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Google Resource (show other bugs)
Version: 4.10
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-23 00:25 UTC by Tobias Schula
Modified: 2013-03-01 16:32 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Schula 2012-12-23 00:25:43 UTC
Creating a new event in a google calendar is not possible. Creating a new event in a lokal calendar is possible. It was also possible in version 4.9.3

Reproducible: Always

Steps to Reproduce:
1. Open KOrganizer
2. Create new event (Ctrl+N)
3. Select calendar
Actual Results:  
I was not able to select a google calendar ressource

Expected Results:  
I should be able to select a google calendar ressource

Beta 4.9.90 from kubuntu beta ppa, downgrading to KOrganizer 4.9.3 solves this problem.
Comment 1 Yuriy Vidineev 2012-12-23 17:58:30 UTC
I can confirm this bug in Kubuntu 13.04 (KDE 4.9.95). I can't create new event or edit existed one. Looks like calendar in read-only mode
Comment 2 Daniel Vrátil 2012-12-23 18:34:50 UTC
What version of LibKGAPI do you have? Please make sure you have updated to the latest (0.4.4) version.
Comment 3 Yuriy Vidineev 2012-12-24 01:09:29 UTC
0.4.2-0ubuntu1. So looks like its kubuntu bug. Thank you!
Comment 5 Tobias Schula 2012-12-24 10:44:52 UTC
Works with 0.4.4, ubuntu packaging bug
Comment 6 Daniel Vrátil 2012-12-26 02:00:20 UTC
kdepim-runtime >= 4.9.80 requires LibKGAPI>=0.4.3 at build-time, so if only LibKGAPI 0.4.2 is packaged on Kubuntu, I have no idea how they managed to compile it :). 

Anyway, please make sure the that kdepim-runtime package in Kubuntu depends on LibKGAPI>=0.4.3.

I'll close this bug as resolved now.
Comment 7 lnxusr 2013-01-08 20:18:47 UTC
Sorry, this is not fixed.  I have kdepim-runtime 4.9.97 (4.10 rc2) with libkgapi0 0.4.4 and I cannot add new or edit existing google calendar events.
Comment 8 Daniel Vrátil 2013-01-09 08:56:37 UTC
You can't add a new event, because the calendar is marked as read only (is not listed in the combobox in incidence editor), or that the changes are not visible in Google Calendar?

If it's the first, make sure you have restarted Akonadi after the update and in Akonadi Console -> "Browser", right-click one of the Google calendars, open "Folder Properties" and check what's in "ACL" tab. 

If it's the latter, please open a separate bug report.
Comment 9 lnxusr 2013-01-09 11:15:28 UTC
Thank you Dan, that was the problem.  Perhaps the read only status should be more apparent and should not default to read only.  It should also be able to be changed from within Kontact and not need the Akonadi console to change it.

Looking back over the comments, I see where Yuriy mentions read only.  I missed that before posting.
Comment 10 Daniel Vrátil 2013-01-09 12:29:01 UTC
Users are not supposed to change ACLs of folders, therefore it's not accessible from anywhere else. I suppose there was a problem in migration when updating LibKGAPI and KDE that caused the ACLs not being updated by the Akonadi Resource.
Comment 11 Frank Wittemeier 2013-02-27 15:27:28 UTC
I have the same problem with an eGroupware Server using CalDAV. The solution with ACL in akonadi console works for only some minutes. With groupDAV it works, but I get a lot of errors (Server send wrong data) and mostly the calendar is empty. With KDE 4.9 and the same user on the same server it works without problems. KDE 4.10 with an ownCloud Server works also without problems.
Comment 12 Daniel Vrátil 2013-02-27 16:19:54 UTC
Frank, I suggest opening a new bug specifically for the DAV resource, so that it's maintainer can see it.