Summary: | Completing recurring to-do doesn't create new to-do | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | gjditchfield |
Component: | todoview | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 1, bhole, christophe, clara.gnos, jakob.kummerow, smartins |
Priority: | NOR | Keywords: | triaged |
Version First Reported In: | 4.1.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch for recurring to-do issue. |
Description
gjditchfield
2008-09-08 05:16:22 UTC
I get this too, and is one reason I switched from Sunbird back to Korganizer. I usually put my bills as recurring to-dos. When I pay one, I click completed, but the next instance of the bill is not created - I have to manually re-create it myself. (I seem to remember korganizer doing it correctly with previous versions, maybe even 4.1.0) I see this problem too. I'm running KOrganizer version 4.1.0 using KDE 4.1.2 on Ubuntu Intrepid. This seems to be a regression since 3.5.9 in Ubuntu Hardy. Recurring todo items always worked correctly for me in that version. *** Bug 173619 has been marked as a duplicate of this bug. *** Confirmed with 4.1.72. Have the same problem with 4.1.96 This makes todos nearly useless for me (I have to manage periodical events most of the time) Incidentally, the workaround described in bug 173619 doesn't work for me. If I add a time to the to-do, it usually works for one or two recurrences. Eventually, however, the to-do is simply marked completed and no new occurrences are scheduled. I finally got fed up with this problem today, so I went and investigated it. :-) It looks as though there is a test, which ensures that to-dos are not rescheduled if the "end on" date has been reached. If no "end on" date has been set, this test seems to give the wrong answer. It should say that the "end on" date has not been reached, because no such date has been set, but actually it says that the date has been reached and so the to-do is not rescheduled. I will upload a patch, which is against KDE 4.2.0. If someone could review it, I would be very grateful. Bear in mind that I'm not familiar with this code, so although the patch works for me, it's possible that I've done something silly! Created attachment 31658 [details]
Patch for recurring to-do issue.
I'm glad you made a patch, I was thinking of fixing it when it reached 65 votes ;) Post it here: http://reviewboard.kde.org/ (choose KDEPIM as the group) or I'll post it for you tomorrow. Thanks! I might be missing something but I can't reproduce this bug with KDE trunk. Only 4.2/4.2.1 Ah, the to-do must have a due date before today for the bug to appear. I'll post the patch right now. 65 votes? One more sockpuppet would have done it, then. :-) Do you still need me to post the patch on reviewboard, or are you saying you've already done that? Thanks for your help getting this patch looked at, by the way. SVN commit 932890 by smartins: endDateTime is invalid if the recurrence doesn't have an end. Thanks to Pete for his patch. Review board link: http://reviewboard.kde.org/r/197 BUG: 170660 M +3 -1 todo.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=932890 I think you'll have to wait for KDE-4.2.2 as 4.2.1 was tagged earlier today. |