Bug 203376 - [IDE] [efs] Error message when creating a remote project on a Windows drive
Summary: [IDE] [efs] Error message when creating a remote project on a Windows drive
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
Depends on: 182350
Blocks:
  Show dependency tree
 
Reported: 2007-09-13 18:07 EDT by Martin Oberhuber CLA
Modified: 2022-02-17 20:14 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 2007-09-13 18:07:02 EDT
+++ This bug was initially created as a clone of Bug #182350 +++

With Eclipse 3.3 and DSDP-TM RSE SDK 2.0.1 RC1 from 
http://download.eclipse.org/dsdp/tm/downloads/drops/S-2.0.1RC1-200709130222/index.php

File -> New -> Project.  General -> Project.  Uncheck "Use default
location".  Change the file system to RSE.  Click "Browse...".  Select your
"Local", "Drives", "C:\".

It will display the error "Invalid location path".  ":" is not valid in
the URI.

The problem is with 
   ProjectContentsLocationArea#checkValidLocation()
That method takes the URI from the selected remote resource, and extracts the
last segment to generate a default project name out of it. But ':' is a valid (and necessary) part of the URI. Therefore, the code also needs to escape the : and \ characters.

Note that the default project name could also be created more intelligently for remote resources, e.g. the "host" part of the URI could be considered as well similar to the patch attached to bug #182350.
Comment 1 Susan McCourt CLA 2009-07-15 11:59:48 EDT
"As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009"
Comment 2 Eclipse Webmaster CLA 2019-09-06 15:32:42 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 3 Eclipse Genie CLA 2022-02-17 20:14:07 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.