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 148391

Summary: Doubled TODO in "Tasks" window
Product: platform Reporter: Roman Mostyka <romanmostyka>
Component: Action ItemsAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot of double record for the same task.

Description Roman Mostyka 2008-09-25 16:33:36 UTC
1. Install jMaki plugin.
2. Create web application with JSF framework.
3. DnD "Menu" component from "jMake Widgets" part of a palette.
4. Open "WebApplication > Web Pages > resources > jmaki > menu > component.js" file.

Result: There is one TODO task in this file, but in "Tasks" window there are 2 the same records for it.
I'm not sure about component/subcomponent, just reproduced this issue when tested JS Debugger, so I filed for JS
Debugger and then please reassign this issue correctly. Thanks. Sorry for inconvenience, I just really don't know
appropriate component.
Comment 1 Roman Mostyka 2008-09-25 16:34:11 UTC
Created attachment 70601 [details]
Screenshot of double record for the same task.
Comment 2 Peter Zavadsky 2008-09-26 17:43:37 UTC
This needs to be investigated by tasklist owner first.
Comment 3 Stanislav Aubrecht 2008-09-29 12:14:33 UTC
i tried the steps above with nb 200809281401 (full ide), jdk1.6_10 and a fresh user dir and there was only one TODO item
from component.js file in the task list window
Comment 4 Stanislav Aubrecht 2008-09-29 12:33:51 UTC
note: i've just noticed that there might be two tasks with the same description and same file name - one from the file
in 'web' folder, the other from file in 'build/web' folder.
Comment 5 Roman Mostyka 2008-09-29 15:12:24 UTC
Exactly, "build/web" folder. Is there any reason to show TODO from build? If customer has 100 TODO, after compilation
there will be 200 TODO and it's much harder to see them.
Comment 6 Stanislav Aubrecht 2008-09-29 15:46:45 UTC
the current task list implementation asks for 'generic' project source root, which is everything below project's root
folder.
workaround is using task list filter to hide tasks coming from 'build' folder
Comment 7 Stanislav Aubrecht 2008-09-30 11:47:46 UTC

*** This issue has been marked as a duplicate of 148723 ***