Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 7856

Summary: Bad Exception message when bad move occurs
Product: [Eclipse Project] Platform Reporter: Tod Creasey <Tod_Creasey>
Component: ResourcesAssignee: DJ Houghton <dj.houghton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on:    
Bug Blocks: 7810    

Description Tod Creasey CLA 2002-01-17 11:40:18 EST
When you try and move a resource under its own hierarchy you will get the 
following message in a Core Exception

"Assertion failed; Destination should not be under resource's hierarchy.."

The ; should be a : and there should only be one period at the end.

This is not possible using the current UI but in build 20020115 or earlier this 
can be replicated using the following steps

1) Create a project in the Resource Navigator
2) Create a folder under the project
3) Select rename on the folder
4) change the name but do not hit return
5) Collapse the tree - you will get a dialog with the above message
Comment 1 John Arthorne CLA 2002-01-17 12:01:00 EST
Picky picky.  I considered launching into a debate about appropriate uses of 
semi-colon versus colon, but changing the message required less effort.  
Whatever happened to artistic freedom? ;)

Released for builds > 2002-01-17