Bug 184643

Summary: Moving all future occurrences of a recurring event cannot be properly undone
Product: [Applications] korganizer Reporter: Reinhold Kainhofer <reinhold>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 4.2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Reinhold Kainhofer 2009-02-17 14:09:10 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Ubuntu Packages

I have a recurring event, where I move one instance to a different time. When KOrganizer asks me, I choose to modify all future instances. They are correctly moved and the recurrence rules are properly adjust both for the past and the future events. 

However, when you try to undo this operation, all past events are lost. In particular, the undo menu item says "Undo (add event)" (which is wrong and captures only half of the operation of adjusting all future events). It seems that the modification of the past event is not properly recorded in the undo history stack...
Comment 1 Sergio Martins 2009-03-15 22:17:11 UTC
SVN commit 939859 by smartins:

Undoing multiEntries was broken because mCurrentMultiEntry was never inserted into the stack.

All operations that make more than one change can be undone now (e.g. dissociate occurrence, move future occurrences, delete future 
occurrences)

BUG: 184643


 M  +1 -1      history.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=939859