Bug 213896 - Can copy a folder into itself!
Can copy a folder into itself!
Status: REOPENED
Product: platform
Classification: Unclassified
Component: Filesystems
7.0.1
PC Windows 7
: P4 (vote)
: TBD
Assigned To: Jaroslav Havlin
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-10 05:54 UTC by qrox
Modified: 2013-05-30 13:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qrox 2012-06-10 05:54:02 UTC
Product Version = NetBeans IDE 7.0.1 (Build 201107282000)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_30-ea
Runtime = Java HotSpot(TM) Client VM 20.5-b02

When moving a project folder(e.g, 'foo'), to foo/foo, The ide was caught in an endless loop.and when I finally stopped the program, and went to 'foo' to have a look, I saw an infinite loop of 'foo' folders....and when I wanted to delete it, the system told me 'the folder has too long a name and thus cannot be deleted.'
I'd appreciate it if you could fix this bug sometime and more if you could tell me how to get rid of this foo folder...
Comment 1 Tomas Danek 2012-06-11 08:53:53 UTC
Could you please describe step by step what actions do we need to take to try to replicate your problem? E.g. how do you move project folder, using which window etc.
Please add steps to reproduce and reopen, thanks in advance.
Comment 2 Tomas Danek 2012-06-11 09:11:15 UTC
reproduced;

- create project 'foo'
- project popup | Move...
- add "\foo" to the ond of path where to move
Comment 3 Tomas Danek 2012-06-11 11:24:21 UTC
for a deleting such weird folder structure I've googled (and tested) that best is to boot to some Linux system (E.g. Ubuntu on live cd) and delete folder from Windows FS from command line (rf -rf $PATH_TO_FOO_FOLDER)
Comment 4 Jaroslav Tulach 2012-06-11 14:37:34 UTC
(In reply to comment #3)
> for a deleting such weird folder structure I've googled

OK, let's consider this user error fixed. Hopefully there is not going to be too many advantagerous users trying to copy a folder into itself.
Comment 5 qrox 2012-06-12 23:51:42 UTC
Ugh, thanks a lot. I was just trying to move it into the folder and then rename it. I should have renamed it first and then move it.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo