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 75045 - [Navigator] Path with error badges is not updated
Summary: [Navigator] Path with error badges is not updated
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on: 126968
Blocks:
  Show dependency tree
 
Reported: 2006-04-14 09:17 UTC by Jiri Kovalsky
Modified: 2009-12-21 05:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of navigator with insufficient error information. (10.94 KB, image/png)
2006-04-14 09:18 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2006-04-14 09:17:16 UTC
Development build #200604140200 of NetBeans 5.5
Windows XP, JDK 1.5.0_05 build #05

Description:
============
Navigator does not update error badges in the view when XML content changes and
error is moved somewhere else. There are several scenarios how to make this
inconsistency. Take a look at attached screenshot.

Steps to reproduce:
===================
1. Generate new sample web application project from template.
2. Create new XML file underneath and replace its content with this code:

<a><b><!- 

</b></a>

3. Expand "a" node in Navigator to see red "b" node.
4. Now type <c/> at empty line 2 and repeat step 3.
5. Note that "b" node is not red anymore as if it does not contain any error
which is obviously incorrect.
Comment 1 Jiri Kovalsky 2006-04-14 09:18:38 UTC
Created attachment 29854 [details]
Screenshot of navigator with insufficient error information.
Comment 2 Marek Fukala 2006-07-27 15:24:53 UTC
TreeNodeAdapter is the root of the problem.
Comment 3 Marek Fukala 2006-08-30 15:04:04 UTC
No time for this issue now. It would be a waste of time since I belive I'll
rewrite the XMLDocumentModelProvider and hence the TreeNodeAdapter logic will
change in 6.0. Moreover this is a minor problem, I would even say P4.
Comment 4 Marek Fukala 2007-02-16 14:41:03 UTC
Reassigning to default owner of selected subcomponent. New owners are gladly
welcomed.
Comment 5 Mikhail Matveev 2007-07-06 15:13:40 UTC
I checked it and got no error bagdes at all. Probably this functionality in's presented anymore. Sam, could you take a look at it?
Comment 6 Samaresh Panda 2007-09-26 23:07:32 UTC
For xml documents (including schemas), there is a XML navigator, that gets badged with error icons whenever there is an
error in the document. In general it works great, except few scenarios as pointed out by the reporter.
Comment 7 Samaresh Panda 2008-12-04 16:10:41 UTC
This will again depend on issue 126968.
Comment 8 Quality Engineering 2009-12-21 05:16:37 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