Project: Eclipse_Platform_UI
Bug 7810 Rename on collapsing a tree gives confusing error
Reported: 2002-01-16 16:09:31 | Status: closed fixed

If you rename a file inline and then collapse it's parent you get an error message that says Assertion failed; Destination should not be under resource's hierarchy.. First of all the ; should be a : and there should only be one period. Secondly this is not consistent behaviour. If you hit return the rename happens without a problem. STEPS 1) Open a folder or file with a parent 2) Select rename 3) Collapse the parent

Files changed in fix:
bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/actions/RenameResourceAction.java bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/actions/WorkspaceAction.java