GNOME Bugzilla – Bug 515998
It isn't possible to remove a calendar
Last modified: 2009-04-02 18:34:11 UTC
Please describe the problem: I can't remove my calendars, stored on my computer (not on WWW, etc.). I get a window "Do you really want to remove..." (or something similar) but after confirmation, the calendar is still present... The problems started when I copied one calendar to other one. Every events were duplicated but they had some dependencies on themselves (new event in one calendar were created in the second one too, removing an event from one calendar caused removing the "second" event from the second calendar, etc.). I can remove new calendars (created after this problem) but the old ones not. (I think some Evolution's internal data are broken...) Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
> The problems started when I copied one calendar to other one. within evolution? or on the file system? which distro, which exact version?
Within Evolution (no my own manipulating with Evolution's files). Ubuntu 7.10 Gutsy Gibbon, GNOME 2.20.1, Evolution 2.12.1.
now if you could describe what exactly you did...? ;-)
OK, in points: 1. I copied whole calendar A to calendar B (through right click on the cal.) 2. cal. B had all events from cal. A (everything OK) 3. but it wasn't possible to remove cal. A 4. so I tried to remove the events manually 5. but removing of event C (from the cal. A) caused removing of event C' (from the cal. B) 6. it wasn't still possible to remove cal. A (it was empty at the time) 7. if I created an event in cal. B, the event was created in cal. A too I hope this description will help you better (I'm not so good in English)...
By the way... I couldn't (now I can) change the calendar's color too.
Logic in code is that if we cannot remove calendar from our storage, then we will not remove it from source list either. I think this can be changed.
Created attachment 105228 [details] [review] proposed evo patch for evolution; Maybe it's not good idea, I'm not sure. Let Chen decide.
Chen.. before 2.21.91?
I think it should be ok to do this. Please commit the patch.
Nope sorry, it might cause problems with calendars which should not be removed. Like for example, exchange calendars cannot be removed in offline. The fix should be made at the backend. It is good to print the error message received while remove cal.
Created attachment 112983 [details] [review] proposed eds patch for evolution-data-server; So the backend takes care of this. I can create similar patch for exchange too, but I guess it's not required there.
*** Bug 508387 has been marked as a duplicate of this bug. ***
The patch looks good. Just a small thought, is it good to notify a error message to the user that some happened wrong there ?
Committed to trunk. Committed revision 9134. It prints the info on the console (which is nothing special, I know), but is there any option to report success and also show a message? Also, we do not know the exact error anyway, so what would you show there? :)
*** Bug 480552 has been marked as a duplicate of this bug. ***