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.
-have class test.java in packages a and b -copy test.java from a to b * you have two same classes test.java in package b * note: the file renames to test_1.java properly but the displayed name stay still test.java
Created attachment 16500 [details] screenshot
unable to reproduce after restart... i did same simple refactoring and copy, pasting before it happend. RANDOM till I'll find how to reproduce.
100% reproducible - but only on move (drag&drop or ^X & ^V) Describing with files in web sources (java files add refactoring staff): 1) Have a node (index.jsp) in directories A and B 2) Move index.jsp from directory A to B 3) ERROR: there are 2 nodes named "index.jsp" in directory B Notice: as Lukas mentioned, file was renamed to index_1.jsp properly (open it in editor), but the display name in explorer is not updated (neither in Projects nor in Files window).
Petr, you were looking for this issue last week, cc-ing you...
*** Issue 47371 has been marked as a duplicate of this issue. ***
Easily reprodcible regardless of file type. Seems like missed PCE or something. It is a regression, it worked correctly in 3.6
*** Issue 51391 has been marked as a duplicate of this issue. ***
IMO such regression should deserve higher priority than P3.
I agree. This, along with issue 46446 can't lead to a very weird behavior with web applications. I attached three screenshots with a duplicated file and how differently it shows.
Created attachment 19124 [details] dup in web folder
Created attachment 19125 [details] dup in build folder
Created attachment 19126 [details] dup in project view
I can still reproduce it in NB4.1 (200412191900), these steps leads to uncompilable code !
There was missing update of the display name. openide/loaders/src/org/openide/loaders/DataNode.java,v1.18
works ok now, file is renamed. Ver 4.2 20050706