Bug 1760586

Summary: odo delete enters an infinite loop after project is delete and component name is set
Product: OpenShift Container Platform Reporter: Yana Hontyk <yhontyk>
Component: odoAssignee: Nobody <nobody>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact: Yana Hontyk <yhontyk>
Priority: unspecified    
Version: 4.2.0CC: cdrage, oskutka, tkral
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-07 08:15:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yana Hontyk 2019-10-10 21:20:30 UTC
Description of problem:
odo delete enters an infinite loop after project is delete and component name is set

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. oc delete project/demoproj
2. odo create
3. once you see "What do you wish to name the new component", enter a different name and you will enter the infinite loop

Actual results:
$ odo create
? Which component type do you wish to create java
? Which version of 'java' component type do you wish to create 8
? Which input type do you wish to use for the component local
? Location of path component, relative to 'C:\work\src\tmp\springboot-rest' C:\work\src\tmp\springboot-rest
X Sorry, your reply was invalid: Unable to determine if component 'comp1' exists or not
? What do you wish to name the new component (java-nqmv)

Expected results:
Accept the provided name

Additional info: