vscode-openshift-tools icon indicating copy to clipboard operation
vscode-openshift-tools copied to clipboard

Component push fails if running in default project

Open mohitsuman opened this issue 4 years ago • 1 comments

When creating a new component from DefaultDevfileRegistry, the component gets created in default project. When we try to push the component, odo push fails and complains that it cannot run on a default project.

This will break the user experience. We need to ask for project name too when creating the component.

Steps to Reproduce:

  1. Create Component from DefaultDevfileRegistry
  2. Select any registry, here I had nodejs-react-starter
  3. Once the component is created, user runs Push command
  4. odo fails with the following error: ✗ odo may not work as expected in the default project, please run the odo component in a non-default project

mohitsuman avatar Sep 16 '21 18:09 mohitsuman

@mohitsuman we cannot really do anything about it. I'd say if message form odo states that default project cannot be used then I would close this issue.

dgolovin avatar Mar 31 '22 05:03 dgolovin

The push workflow is changed. Hence closing this issue.

mohitsuman avatar Nov 13 '22 13:11 mohitsuman