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.
it's there for a while P1 -> can cause data lost ! -happend to me two times :( steps: -have package structure like this (Project view): * prvni.druhy * prvni.treti -delete package prvni.druhy and it deletes even prvni.treti not sure whom to assign and I've choose you, Hrebejku ;)
one more note - after delete the packages disappear from Projects but remain viseble in Files and when you take a look on HD then they are really deleted
for a while a thought this problem appears only in vcs filesystem but it happend to me right now with fresh userdir and new 'local' project. exact steps (I've tryed tree times) -start IDE with fresh userdir -create new project - Standard.Java Application -create packages 'a.b' and 'a.c', create a java file in this packages -delete package 'a.b' * even 'a.c' is deleted
Problem seems to be in PackageViewChildren. Review attached patch.
Created attachment 16367 [details] isEmpty is slightly modified
Ok it looks like my impl of isEmpty() was really stupid. Thanks Radek for finding it.
Pattch applyied. Thanks
*** Issue 46510 has been marked as a duplicate of this issue. ***
[200407271830] - verified