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.
Events fired to fileDataCreated or fileFolderCreated from the affected file's parent folder carry incorrect information in their "file" property. Instead of the newborn or removed file, the parent folder is reported. Attaching an attempted hack/patch that seems to solve the issue.
Created attachment 9964 [details] Attempted patch
It blocks me somewhat from providing reimplementation of Packages node.
Thanks Svata for patch. At first glance it looks OK. I think I'll apply it tomorrow.
Radku, sorry, but I have to commit it today; without the patch, tomorrow's testing of projects will fail. Please rollback if there's some bug (although I encountered none in last 2 days).
Applied. I apologize, but cached information about packages do not refresh correctly when an incorrect event arrives -> newly created files do not appear :-( Fixed in trunk: Checking in src/org/netbeans/modules/localfs/HostFileObject.java; /cvs/core/localfs/src/org/netbeans/modules/localfs/HostFileObject.java,v <-- HostFileObject.java new revision: 1.17; previous revision: 1.16 done Checking in src/org/netbeans/modules/localfs/HostFileSystem.java; /cvs/core/localfs/src/org/netbeans/modules/localfs/HostFileSystem.java,v <-- HostFileSystem.java new revision: 1.20; previous revision: 1.19 done
closed