This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 30149

Summary: subtasks table incorrect after priority shuffle
Product: contrib Reporter: David Simonek <dsimonek>
Component: TasklistAssignee: Torbjorn Norbye <tor>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description David Simonek 2003-01-15 18:39:03 UTC
steps to reproduce:
1) Have an empty user task list
2) Create "first task", then "second task" and
make "second task" dependent on "first task"
3) create independent "third task", add to the end
of list
4) make sure first task is expanded
5) sort tasks according to priority, higher
priority on top (should do nothing, priorities are
the same for all tasks now)
6) boost priority of third task
tree become corrupted in following way:
 third
  |---second 
+first

correct result should be:
 third
 first
  |---second

Workaround: toggle priority order and tree will
correct itself
Comment 1 Torbjorn Norbye 2003-01-20 16:51:01 UTC
I think the -sorting- is what's causing problems here. I've also seen
and heard reports of "invisible" tasks when sorting is enabled. 

I suspect the problem is in the TreeTableView - since turning sorting
on and off has nothing to do with the tasklist module (it's done
transparently inside the treetable).

But I will investigate/reproduce this first and make sure before
reassigning to openide/explorer.
Comment 2 David Simonek 2003-01-22 09:11:48 UTC
Yes, I'm confirming, invisible tasks appeared on my machine too. And
yes, it looks like TreeTableView, it seems that data stored on disk
are always right during the steps I mentioned. 
Comment 3 Torbjorn Norbye 2003-02-05 19:25:07 UTC

*** This issue has been marked as a duplicate of 30150 ***
Comment 4 Lukas Hasik 2003-09-04 10:59:29 UTC
verifying the duplicity.