Bug 1021136

Summary: Please include upstream changeset r1150
Product: [Fedora] Fedora Reporter: Gert Michael Kulyk <gkulyk>
Component: libicalAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: mcrha, rdieter, redhat-bugzilla, sebastian-keller
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libical-1.0-3.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-10 07:17:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
gnome-shell calendar after this patch none

Description Gert Michael Kulyk 2013-10-19 18:23:42 UTC
Current libical 1.0-2 causes evolution-data-server (evolution, gnome-shell-calender) to show up e.g. birthday events for persons born before 1.1.1950 on two days, starting at 23:00 the day before the event. Upstream changeset r1150 fixes the issue, so please include it.

For more information please have a look at 
http://sourceforge.net/p/freeassociation/code/1150/

Thanks.

Comment 1 Fedora Update System 2013-10-19 23:56:53 UTC
libical-1.0-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libical-1.0-3.fc20

Comment 2 Fedora Update System 2013-10-20 17:45:53 UTC
Package libical-1.0-3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libical-1.0-3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-19543/libical-1.0-3.fc20
then log in and leave karma (feedback).

Comment 3 Sebastian Keller 2013-10-23 23:48:35 UTC
Created attachment 815592 [details]
gnome-shell calendar after this patch

With this patch it seems like all manually created recurring events show up on the weekdays they were recurring even if they should no longer recur. This causes the calendar to be filled with lots of old entries. The first login after installing this patch triggered >100 reminders at once. This makes the calendar entirely unusable. After downgrading the libical package everything went back to normal.

Comment 4 Sebastian Keller 2013-10-24 00:00:01 UTC
I've found an easy way to reproduce the problem:

1.) disable all calendars
2.) create a new local calendar
3.) go back to 2012
4.) create a new apointment "test" in this calendar on october the 24th
5.) mark it as recurring daily with 2 recurrences
6.) save

-> the entire calendar starting from october 24th on is now filled with "test"

Comment 5 Gert Michael Kulyk 2013-10-24 11:41:05 UTC
Unfortunately you're right. I'm able to reproduce the problem. When using in Evolution not "every 2 days for 2 occurences" but "every 2 days until" a given date, it does not happen. As I'm always using the latter option, I did not see any problem testing the patch. 

The "for" option writes something like "RRULE;X-EVOLUTION-ENDDATE=20131025T080000Z:FREQ=DAILY;COUNT=2", while the "until" option" writes something like "RRULE:FREQ=DAILY;UNTIL=20131026" to the resulting libical file. 

It seems like X-EVOLUTION-ENDDATE is not interpreted correctly after applying the patch... Maybe e-d-s/evolution somehow expects a "buggy" libical?

Comment 6 Milan Crha 2013-11-05 20:38:05 UTC
(In reply to Gert Michael Kulyk from comment #5)
> It seems like X-EVOLUTION-ENDDATE is not interpreted correctly after
> applying the patch... Maybe e-d-s/evolution somehow expects a "buggy"
> libical?

Nope, the X-EVOLUTION-ENDDATE is just a hint, it is not mandatory and if it is not set, then it is computed on the fly. Let's move with this investigation to bug #1023020, to not duplicate the work.

Comment 7 Fedora Update System 2013-11-10 07:17:13 UTC
libical-1.0-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.