[
https://issues.jboss.org/browse/JBIDE-25897?page=com.atlassian.jira.plugi...
]
Andre Dietisheim commented on JBIDE-25897:
------------------------------------------
[~dgolovin] I'd tend to think that this is more of a display error than a validation
error:
afaik namespaces for a server have to be unique across users, you cannot have 2 identical
namespaces for 2 different users. To verify this do the following in CDK using the
web-UI:
# EXEC: login as developer, create a project *tux*
# EXEC: logout, login again as admin
# EXEC: try to create the very same project (as you're now logged in as a different
user) *tux*
Result:
You're prompted with an error telling you that the project already exists
!project-already-exists.png!
Resulting out of this is that the bug is not that you're prompted with an error
telling you that the project already exists (which is actually true) but the fact the 2nd
connection won't display the existing project.
New Project validation uses wrong name space when there are two
connections in OpenShift Explorer
-------------------------------------------------------------------------------------------------
Key: JBIDE-25897
URL:
https://issues.jboss.org/browse/JBIDE-25897
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.5.3.AM3
Environment: Windows 10 Pro, CDK 3.4.0-alpha.1
Reporter: Denis Golovin
Fix For: 4.5.x
Attachments: project-already-exists.png, pyproject-error.gif
!pyproject-error.gif!
Prerequisites to reproduce the issue:
1. Start CDK/Minishift
2. Create second connection with different user name 'developer3' for example
3. Click hyper link in explorer to create new Project
4. Use name 'myproject'
5. ERROR:
{code}Could not create project "myproject": project.project.openshift.io
"myproject" already exists
Exception trying to POST
https://192.168.99.100:8443/oapi/v1/projectrequests response
code: 409 project.project.openshift.io "myproject" already exists{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)