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.
Summary: | Disappearing project nodes in the explorer. | ||
---|---|---|---|
Product: | platform | Reporter: | randahl <randahl> |
Component: | Data Systems | Assignee: | David Konecny <dkonecny> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | pkeegan |
Priority: | P2 | Keywords: | RELNOTE |
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
bugfix diff for potential inclusion in NB36
binary patch |
Description
randahl
2004-03-25 22:49:07 UTC
Marking fixed for D just because no such thing can happen in D; still open from the perspective of 3.6 because of the version and target milestone fields. It seems to be a problem with data systems (DataShadow?). The node representing the link should never enable the Paste action on itself, nor any of its children. I still think there is an issue in the data systems that needs to be fixed. Reopening. Fixed in trunk: Checking in src/org/openide/loaders/DataFolder.java new revision: 1.21; previous revision: 1.20 Checking in src/org/openide/loaders/DataShadow.java new revision: 1.9; previous revision: 1.8 Created attachment 14224 [details]
bugfix diff for potential inclusion in NB36
Fix is simple, but needs to be properly tested if we want to include in in NB36 and there is still time for it. Created attachment 14225 [details]
binary patch
Binary patch attached. I did not have time to test it, but storing it to lib/patches should solve the problem. Should be well tested, but fix seems to be safe. proposed relnote (please check since I can't reproduce it, so I'm not sure if I'm describing it correctly): "Description: In the Project window, it is possible to accidentally drag and drop a node into itself and thus make the node disappear." Any possible workarounds? How to reproduce: * start IDE with new userdir * in Project tab right click Project Default node and choose Add Existing and choose for example "examples" folder from sampledir * now drag "examples" and paste it onto itself - it will disappear Workaround for node disappaerance is to re-add "examples" folder to project again and delete the link you created. Otherwise Find action on project can get into infinite loop. So, re-add examples to your Project Default node and expand it - you will see that it contains the link to "example" and that one must be deleted. OK. I reproduced it (I don't know why I couldn't yesterday). relnote text: "Description: In the Project window, it is possible to accidentally drag and drop a folder node into itself and thus make the node disappear. After re-adding the folder, a subfolder with the same name appears within the folder. If you do a search on the folder, the search will get caught in an infinite loop. Workaround: Add the folder back by right clicking the Project node and choosing Add Existing. Then expand the re-added folder and delete the subfolder that has the same name as the folder. Sounds OK to me. |