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.

Bug 7361 - Copying of package to the same destination as source has strange behaviour
Summary: Copying of package to the same destination as source has strange behaviour
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P4 normal (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on: 6794
Blocks:
  Show dependency tree
 
Reported: 2000-08-11 16:48 UTC by Jiri Skrivanek
Modified: 2008-12-22 15:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2000-08-11 16:48:41 UTC
Steps to reproduce:

- explore Development FS in Explorer
- from pop-up menu on examples package choose Copy
- paste examples to root (the same location where examples package already
exists)
- all files in package examples are "doubled" with postfix _1

I would expect that this action create package examples_1 where will be the same
files as in original package.
Comment 1 Jiri Skrivanek 2000-08-31 14:52:59 UTC
*** Bug 7532 has been marked as a duplicate of this bug. ***
Comment 2 Jaroslav Tulach 2000-11-03 13:48:59 UTC
Cannot fix 7361 and 6794 at once.
Comment 3 Jiri Skrivanek 2000-11-03 14:55:59 UTC
I think it is possible. Forte Explorer should behave like other file managers:
a) copy package p1.1 from p2 into the same package p2 => should create p1.1_1
(with file f1 in it)
b) copy (or cut) package p1.1 from p1 into p2 package => should ask user to
replace existing files and should merge aditional file f2

p1 - p1.1 - f1
          - f2
p2 - p1.1 - f1
Comment 4 Jan Zajicek 2001-01-23 09:29:59 UTC
Automated change of version from Other to Dev.
Comment 5 Jaroslav Tulach 2001-02-25 10:30:11 UTC
I do not think we should implement what Jiri suggests, but I my opinion is not
strong at all. So Ales do what you think is right, but do not forget, that move
and copy of DataFolder should behave similiary.
Comment 6 Jan Chalupa 2001-03-12 09:35:57 UTC
Version: 'Dev' -> 3.2
Comment 7 Jan Chalupa 2001-05-05 20:36:30 UTC
Target milestone -> 3.3
Comment 8 Vitezslav Stejskal 2001-10-25 21:23:06 UTC
Current behavior is as designed. IMO it's more suitable to merge folders then create new with explicit 
names. The original use case is kind of unusual.
Comment 9 Jiri Skrivanek 2001-10-26 08:14:37 UTC
I think that current behaviour is unusual. I haven't seen it in any
file manager. I wonder nobody complains except me. 
So, I stop throwing peas againts the wall.