Community
Participate
Working Groups
** When I copy and paste some files to the same folder, I rename those file to the same name, RSE dose not compliant anything. And the pasted files override each other Step to reproduce: 1. Switch to RSE perspective 2. In a folder, create some files, e.g. "file1", "file2", "file3".. 3. Copy all 3 files and paste to the same folder 4. The "Duplicate Name Collision" dialog pops up, select the "Rename" radio button with name "file4" for all 3 files. 5. RSE does not compliant the file4 as an existing name and just override it with the new files. RSE should warn that file4 exists when pasting file2 and file3 to file4 -----------Enter bugs above this line----------- installation : eclipse-SDK-3.3.1 RSE install : dev driver java.runtime : Sun 1.6.0_03-b05 os.name: : Windows XP 5.1, Service Pack 2 ------------------------------------------------
Rupen, as discussed, I'll assign this for you to look at.
Created attachment 82570 [details] Patch to disable the user to rename to the same name when multiple collisions occur This patch is to disable the user from renaming to the same name when multiple collisions occur. Basically passing a list of previously selected names to the dialog, having the dialog check on the validate whether the users entered string exists within the list.
Created attachment 82571 [details] Patch to disable the user to rename to the same name when multiple collisions occur Sorry, noticed in the Diff screen that i missed a line of code.
Created attachment 82698 [details] Patch to disable the user to rename to the same name when multiple collisions occur Reposting due to synchronizing issues as per Dave M.
The patch looks good. I've committed the changes to cvs. Thanks!
The problem for this defect has been verified in that the same name cannot be used more than once for renaming. Although, I have discovered an issue which i will open as another defect. Only in local, 1) When there is a folder collision during copy 2) Select to rename 3) Select a name of a folder that exists in the parent 4) No error is given and folder is overwritten