After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726078 - After change an instance of a recurring event, the rest of the instances cannot be changed
After change an instance of a recurring event, the rest of the instances cann...
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Calendar
3.11.x
Other Linux
: Normal normal
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-03-11 00:50 UTC by Fabiano Fidêncio
Modified: 2014-03-13 02:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Force update after modifying calendar items (3.00 KB, patch)
2014-03-11 00:51 UTC, Fabiano Fidêncio
none Details | Review
Bug #726078 - After change an instance of a recurring event, the rest of the instances cannot be changed (3.01 KB, patch)
2014-03-11 00:52 UTC, Fabiano Fidêncio
needs-work Details | Review
Bug #726078 - After change an instance of a recurring event, the rest of the instances cannot be changed (3.11 KB, patch)
2014-03-12 15:14 UTC, Fabiano Fidêncio
committed Details | Review

Description Fabiano Fidêncio 2014-03-11 00:50:57 UTC
To reproduce:
1 - Create a recurring event
2 - Change only one instance of the series
3 - Try to change another event of the series
4 - See an error in the terminal you're running Evolution

Milan, as we have discussed, the attached patch solves the problem.
About usage of ews_start_sync, I kept it as it is for now.
I didn't see a big gain don't using it, as it runs in its own thread.
Comment 1 Fabiano Fidêncio 2014-03-11 00:51:45 UTC
Created attachment 271496 [details] [review]
Force update after modifying calendar items
Comment 2 Fabiano Fidêncio 2014-03-11 00:52:48 UTC
Created attachment 271497 [details] [review]
Bug #726078 - After change an instance of a recurring event, the rest of the instances cannot be changed
Comment 3 Milan Crha 2014-03-12 14:07:46 UTC
Review of attachment 271497 [details] [review]:

OK, it seems to fix the issue. Please commit to master.
Comment 4 Milan Crha 2014-03-12 14:32:44 UTC
Review of attachment 271497 [details] [review]:

oops, I take it back.

::: src/calendar/e-cal-backend-ews.c
@@ +1069,3 @@
+	}
+
+	if (error) {

this change is not correct, because the 'error' is eaten by the e_data_cal_respond_remove_objects(); why do you want to spread the error on the factory console and in the UI?

@@ +1771,3 @@
+	}
+
+	if (error != NULL) {

the is not correct, for the same reason as above
Comment 5 Fabiano Fidêncio 2014-03-12 15:14:25 UTC
Created attachment 271609 [details] [review]
Bug #726078 - After change an instance of a recurring event, the rest of the instances cannot be changed
Comment 6 Milan Crha 2014-03-12 16:48:44 UTC
Review of attachment 271609 [details] [review]:

Looks fine, please commit to master. Thanks.
Comment 7 Fabiano Fidêncio 2014-03-13 02:14:42 UTC
Attachment 271609 [details] pushed as 8c8eef2 (evolution-ews 3.11.92+)