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 736011 - [CalDAV] Receive two events adds only the first
[CalDAV] Receive two events adds only the first
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Calendar
3.10.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2014-09-04 07:45 UTC by Franziskus Kiefer
Modified: 2014-11-12 16:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
.ics file with two events (550 bytes, text/x-vcalendar)
2014-09-05 06:57 UTC, Franziskus Kiefer
Details

Description Franziskus Kiefer 2014-09-04 07:45:49 UTC
Importing an .ics file with multiple events only imports the first event in the file. Expected behaviour would be to import all events in that file.
Comment 1 Jim Nelson 2014-09-04 22:50:30 UTC
Can you share that .ics with me?  Either post it here or email it to me at california@yorba.org.
Comment 2 Franziskus Kiefer 2014-09-05 06:57:53 UTC
Created attachment 285453 [details]
.ics file with two events

test event to reproduce the bug
Comment 3 Jim Nelson 2014-09-10 00:11:36 UTC
This appears to be an EDS problem.  I can reproduce this issue exactly with Evolution, for example.  California merely loads the file, parses it into an iCal struct, and then passes it to e_cal_client_receive_objects().

California does iterate over the struct once before calling EDS.  It can find two VEVENTs in the parsed struct, and they appear to have distinguishing UIDs.
Comment 4 Milan Crha 2014-11-12 10:35:22 UTC
Thanks for a bug report. I tried to reproduce this with a more recent version of evolution (the current stable 3.12.8 for both evolution and evolution-data-server) by importing the attached .ics file into an On This Computer calendar, and it is imported properly, both events are shown in the calendar. Either it got fixed meanwhile, or you import into a different calendar.

Could you retry with more recent evolution, please?
Comment 5 Franziskus Kiefer 2014-11-12 13:52:34 UTC
I just tried this again on evolution/evolution-data-server 3.12.8-1. It seems to work for a local calendar but fails (imports only the first event) when using a remote CalDAV calendar.
Comment 6 Milan Crha 2014-11-12 16:45:25 UTC
Thanks for the update. You are right, CalDAV imports only the first event, not the second.
Comment 7 Milan Crha 2014-11-12 16:59:53 UTC
Created commit 90d4384 in eds master (3.13.8+) [1]
Created commit 3764c41 in eds evolution-data-server-3-12 (3.12.9+)

[1] https://git.gnome.org/browse/evolution-data-server/commit/?id=90d4384