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 - On project closure, reset Notificator data properly
Summary: On project closure, reset Notificator data properly
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-21 00:55 UTC by Vladimir Kvashin
Modified: 2009-12-21 05:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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