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 7925

Summary: Children of ContextSystemOption in options can be deleted
Product: platform Reporter: Jesse Glick <jglick>
Component: -- Other --Assignee: Jesse Glick <jglick>
Status: CLOSED FIXED    
Severity: normal    
Priority: P4    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 16196, 16197, 16198    
Bug Blocks:    

Description Jesse Glick 2000-10-16 17:53:09 UTC
E.g. Project Settings | Java Settings | Synchronization options canDestroy(). In
fact "deleting" the node does nothing, but it should not even be enabled.

To disable it, probably it will be necessary to turn off canDestroy() using a
FilterNode in org.netbeans.core.ControlPanelNode.

But it is strange that deleting it does nothing--since this is a BeanChildren
perhaps there is also a bug in BeanChildren pertaining to destroying children
(it ought to remove the child from the bean context).
Comment 1 Jesse Glick 2000-11-27 14:11:59 UTC
Various other standard nodes were modifiable in undesirable ways as well.

Fixed in trunk and release31.

But BeanChildren not touched, probably this is still incorrect.

Also org.netbeans.modules.url.BookmarksNode should have been updated
correspondingly but was not.
Comment 2 Jesse Glick 2001-03-28 14:38:12 UTC
Presumably still true in 3.1.
Comment 3 Jan Chalupa 2001-05-06 08:14:42 UTC
Target milestone -> 3.3
Comment 4 Jesse Glick 2001-09-20 11:30:05 UTC
still true in [dev sep 17]
Comment 5 Jesse Glick 2001-10-03 20:39:06 UTC
Filed some other bugs for related problems.

Deletability of context sysop kids fixed: InstanceNode.java 1.14

System file system mount node should not be deletable: MountNode 1.8

Deleting a bean child (if permitted) should really remove it:
BeanChildren 1.15 (with unit test added)
Comment 6 Quality Engineering 2003-07-01 15:47:59 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 7 Quality Engineering 2003-07-01 16:26:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.