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 420443 - Specific UNDO/REDO sequence of link/unlink tasks causes assert failure
Specific UNDO/REDO sequence of link/unlink tasks causes assert failure
Status: RESOLVED FIXED
Product: planner
Classification: Other
Component: General
0.14.x
Other All
: Normal minor
: ---
Assigned To: planner-maint
planner-maint
Depends on:
Blocks:
 
 
Reported: 2007-03-20 07:52 UTC by Lincoln Phipps
Modified: 2008-07-22 14:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lincoln Phipps 2007-03-20 07:52:07 UTC
Steps to reproduce:
1. Insert task
2. Insert task
3. Select these tasks and then click Link tasks
4. Click unlink tasks
5. Click UNDO, UNDO (to remove the unlink and then remove the link action)
6. Click REDO

Fails on both Windows and Linux version 0.14.1 (and anon SVN of around 19th march) with the same failure.


Stack trace:

Planner-ERROR **: file planner-cmd-manager.c: line 462 (transaction_cmd_do): assertion failed: (cmd_sub->type == PLANNER_CMD_TYPE_NORMAL)
aborting...



Other information:
Adding a debug to the code I see that cmd_sub->type is equal to 1 (i.e. a begin), and I can see where it sort of fails in the code so working on a fix myself.
Comment 1 Lincoln Phipps 2007-03-20 07:54:28 UTC
I'll work on this please so I can get back into some patching. 
Comment 2 Massimo Franco 2008-07-08 21:32:01 UTC
Bug still present on WinPlanner 0.14.2, Vista 32bit
Comment 3 Maurice van der Pot 2008-07-22 14:13:05 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. I hope it was safe to assume you weren't working on it anymore ;-) Thank you for your bug report.