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 102044

Summary: On project closure, reset Notificator data properly
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: Code ModelAssignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Kvashin 2007-04-21 00:55:45 UTC
Now there is a single instance of Notificator in code model. Notificator
accumilates model chanhes and (when flush is called) fires model change events.

So one instance of Notificator accumulates changes made in different projects.

The problem occurs when user closes a project while this project is being
parsed. In this case this project changes should be disregarded, while other
project changes shouldn't.

There are two possible solutions:
1) each project has its own Notificator
2) Notificator has disregard(CsmProject) method that removes all data that is
related with the given project and leaves other project data
Comment 1 Vladimir Kvashin 2008-05-12 11:08:00 UTC
This is possible design flaw.
No end user consequences known so far (though probebly there are some)
Needs additional investigation.
Comment 2 Quality Engineering 2009-12-21 05:50:38 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team