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 27025

Summary: Nodes for DataObjects can disappear from the tree even there is no change in the DataObjects
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: Data SystemsAssignee: Jaroslav Tulach <jtulach>
Status: CLOSED FIXED    
Severity: blocker CC: jrechtacek, mihmax
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 20699    
Bug Blocks: 26192    

Description Jaroslav Tulach 2002-09-04 15:58:21 UTC
I have noticed issue 26192 and find out that it is
caused by fix of issue 20699.
Good to know, because I had to workaround this
behaviour during
implementation of issue 23356, I did not know why,
but sometimes nodes
that I obtained as children from FolderChildren
were not present in
the tree when I tried to do
ExplorerManager.setSelectedNodes. 

This is bad behaviour. So it implies that the fix
of the bug 20699 is not good. I am creating this
bug and I will try to write a test case to
show, what is wrong and will attach it here.
Comment 1 Jaroslav Tulach 2002-09-05 10:56:12 UTC
I'll try to prepare a test for the wrong behaviour.
Comment 2 Jaroslav Tulach 2002-09-05 13:44:07 UTC
Simulated. Another garbage collect issue:

cvs/openide/test/unit/src/org/openide/loaders/FolderChildrenTest.java

Comment 3 Jaroslav Tulach 2002-09-05 13:49:11 UTC
Fixed FolderChildren.java
new revision: 1.54
Comment 4 Jiri Rechtacek 2002-09-05 14:52:23 UTC
I think it should be committed to release34 rather that issue 26192
workaround.
Comment 5 pzajac 2002-10-18 09:41:06 UTC
verified
Comment 6 Jesse Glick 2002-11-30 20:30:53 UTC
Correcting milestone.
Comment 7 Jaroslav Tulach 2002-12-03 09:43:58 UTC
Backported to 3.4.1: FolderChildren.java revision: 1.53.26.1
Comment 8 Jaroslav Tulach 2002-12-03 09:46:00 UTC
Removed 341 candidate keyword.
Comment 9 Quality Engineering 2003-07-01 16:23:59 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.