Merge lp://qastaging/~renatofilho/qtorganizer5-eds/fix-1424924 into lp://qastaging/qtorganizer5-eds

Proposed by Renato Araujo Oliveira Filho
Status: Merged
Approved by: Timo Jyrinki
Approved revision: 72
Merged at revision: 72
Proposed branch: lp://qastaging/~renatofilho/qtorganizer5-eds/fix-1424924
Merge into: lp://qastaging/qtorganizer5-eds
Diff against target: 116 lines (+94/-1)
2 files modified
organizer/qorganizer-eds-engine.cpp (+1/-1)
tests/unittest/recurrence-test.cpp (+93/-0)
To merge this branch: bzr merge lp://qastaging/~renatofilho/qtorganizer5-eds/fix-1424924
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Charles Kerr (community) Approve
Review via email: mp+251129@code.qastaging.launchpad.net

Commit message

Use '0' as value for recurrence count if this is unset.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Charles Kerr (charlesk) wrote :

LGTM.

The relevant EDS logic is in calendar/libecal/e-cal-recur.c; e.g. e_cal_recur_obtain_enddate()
which reasons that an event recurs forever if neither COUNT nor UNTIL are set.

So it makes sense for QOrganizerRecurrenceRule::NoLimit to be translated to
icalrecurrencetype.count==0 instead of
icalrecurrencetype.count==ICAL_RECURRENCE_ARRAY_MAX.

review: Approve
72. By Renato Araujo Oliveira Filho

Trunk merged.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Assuming Charles' Approve is enough for top-approve too.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches