Bug 307728 - Can't modify the same event twice
Summary: Can't modify the same event twice
Status: RESOLVED DUPLICATE of bug 283954
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.9.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-02 13:53 UTC by Daniel Vrátil
Modified: 2012-10-03 01:49 UTC (History)
0 users

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 Daniel Vrátil 2012-10-02 13:53:23 UTC
It's not possible to modify the same event twice in a single KOrganizer session. You have to restart KOrganizer to be able to modify the event again. After clicking "OK" in the component editor after modifying the event for the second time, a dialog appears saying:

"Unable to store the incidence in the calendar. Try again? Reason: NO Only resources can modify remote revisions " [Yes] [No]

(Offtopic: there should probably be a newline between "Try again?" and "Reason...")

I /think/ the problem is that KOrganizer somehow caches remote revision of events, but does not update the cache when remove revision of an event changes (which happens for instance after editing an event in a Google calendar), so when user tries to edit the event second time, KOrganizer sets incorrect remote revision which looks Akonadi as if KOrganizer was trying to change it.

Reproducible: Always

Steps to Reproduce:
1. pick a random event in your calendar, using resource that uses remote revisions (for example the Google Calendars resource)
2. edit the event, confirm
3. edit the same event again, confirm
Actual Results:  
Error dialog appears.

Expected Results:  
Event is successfully modified
Comment 1 Daniel Vrátil 2012-10-03 01:49:56 UTC

*** This bug has been marked as a duplicate of bug 283954 ***