Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353765 - [LinkedResources] Funny UI behavior when accidentally trying to create a linked resource folder on invalid name
Summary: [LinkedResources] Funny UI behavior when accidentally trying to create a link...
Status: CLOSED DUPLICATE of bug 359634
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Serge Beauchamp CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 09:49 EDT by Martin Oberhuber CLA
Modified: 2013-02-15 05:40 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2011-08-03 09:49:40 EDT
Build ID: Eclipse 3.7 Indigo on Windows 7

Steps to Reproduce:
1. Create an empty project "Foo"
2. File > New > Folder
3. Erroneously type "X:\" in the "Folder Name" box --> observe error message
4. Press the "Advanced>>" button 3 times
5. Clear the Folder name box and press the "Advanced>" button

--> The advanced section is shown 3 times, dialog becomes unusable :)

Also when Copying "X:\" into the clipboard and pasting that into the "Folder Name" box, an ugly dialog popup is shown and an error is logged:

java.lang.IllegalArgumentException: Path must include project and resource name: /sample
	at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
	at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:2163)
	at org.eclipse.core.internal.resources.Container.getFolder(Container.java:222)
	at org.eclipse.ui.dialogs.WizardNewFolderMainPage.createFolderHandle(WizardNewFolderMainPage.java:358)
Comment 1 Dani Megert CLA 2013-02-15 05:40:51 EST

*** This bug has been marked as a duplicate of bug 359634 ***