Bug 2241 - [UI] Copy/Move Folders/Files issues (1GEASN1)
Summary: [UI] Copy/Move Folders/Files issues (1GEASN1)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 98
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Randy Giffen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:31 EDT by Nick Edgar CLA
Modified: 2002-03-25 11:40 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2001-10-10 22:31:25 EDT
PR marked SEVERE due to internal error in scenario 3 below

Scenario 1:

- create new project A
- new folder B under A
- select B
- choose Copy

Dialog title should be "Copy Folder".
Label text should be "Select the destination for B."

- select B in dialog
- hit OK
- get error dialog: "Copy Problems" / "Problems occurred copying the selected resources"
- hit Details
- see "Destination should not be under resource's hierarchy.
Which destination? Which resource's hieararchy?  What should I do about it?

Ideally it wouldn't let me pick the same folder or any of its descendants.
This is easy to do with the viewers.


Scenario 2:

- create project C
- in file system, create folder B under C
- select project B in navigator
- choose Copy
- select C
- hit OK
- get error dialog: "Copy Problems" / "Problems occurred copying the selected resources"
- hit Details
- see "Resource already exists in local file system.
Which resource?  What should I do about it?


Scenario 3:

- refresh C so that C/B shows up
- select project B in navigator
- choose Copy
- select C
- hit OK
- get prompt: "Resource Exists" / "F/C/B exists.  Do you wish to overwrite?"
- hit No
- get error dialog: "Copy Problems" / "Internal error: Invalid thread access" (no stack dump in .log)
- hit OK
- get error dialog: "Copy Problems" / "Problems occurred copying the selected resources"
- hit Details
- see "Resource already exists in local file system.
Which resource?  What should I do about it?


NOTES:

NE (5/25/01 4:59:58 PM)
	Same problems for copying files.
	Same problems for Move.

EJP (5/29/01 9:14:28 PM)
	A fix to the severe problem is in:
		CopyResourceAction :: org.eclipse.ui.actions 0.114 [ejp: 1GEASN1] 04
	Not going to move this PR to fixed since there are a lot of low priority fixes
	to be done.
Comment 1 DJ Houghton CLA 2001-10-29 18:01:46 EST
PRODUCT VERSION:
110 JDK

Comment 2 Nick Edgar CLA 2002-01-25 22:19:52 EST
Should check that these issues are properly handled with the new story.
Comment 3 Randy Giffen CLA 2002-03-25 11:40:20 EST
Scenario 3 is fixed
Message in scenario 2 now contains name of problem folder.
Copy is now clipbaord based.
Added check to disable paste if copying to self.