Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project tree become unavailable after deleting an OpenshiftConnector component #16360

Closed
musienko-maxim opened this issue Mar 13, 2020 · 5 comments
Assignees
Labels
area/plugins kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@musienko-maxim
Copy link
Contributor

musienko-maxim commented Mar 13, 2020

Workspace template:

metadata:
  name: test-workspace
projects:
  - name: node-js
    source:
      location: 'https://github.com/maxura/nodejs-hello-world.git'
      type: git
      branch: master
components:
  - id: redhat/vscode-openshift-connector/latest
    type: chePlugin
apiVersion: 1.0.0

Env.: minishift with deployed CHE based on Openshift 3.11, Fedora 29
Steps to reproduce:

  1. Create a workspace with Openshift plugin and login into current cluster with UI (we can use the ws. template from this the issue)
  2. Create component: select a folder -> new component -> Create new Application -> Provide app name -> Workspace Directory -> select node-js project - Add context folder ...->Provide Component name ->select component type(nodejs latest). Push the component.
  3. Delete just created component and switch to the Project explorer

Expected result the Project Explorer should present
Actual result There are no any items.

Screencast:
openshift-connector

@musienko-maxim musienko-maxim added the kind/bug Outline of a bug - must adhere to the bug report template. label Mar 13, 2020
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Mar 13, 2020
@ibuziuk ibuziuk added severity/P1 Has a major impact to usage or development of the system. area/plugins team/plugins and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Mar 16, 2020
@ericwill ericwill mentioned this issue Jul 30, 2020
29 tasks
@ericwill ericwill added this to the 7.18 milestone Aug 5, 2020
@vinokurig vinokurig self-assigned this Aug 20, 2020
@ericwill ericwill mentioned this issue Aug 20, 2020
32 tasks
@vinokurig
Copy link
Contributor

Should be fixed in the upstream: redhat-developer/vscode-openshift-tools#1708

@dgolovin
Copy link

Extension is using workspace API to remove specific folder form multi-folder workspace. This kind of use case possible only if you create component in empty workspace. I see you have other folders in workspace before creating new component.
If I do the same steps in vscode it works just fine.

@vinokurig could it be workspace component implementation issue on che side?

@dgolovin
Copy link

@vinokurig I think I found the issue. This can be replicated only when folder selected for component is a sub-folder of one used as workspace. Can you test and confirm?

@ericwill ericwill modified the milestones: 7.18, 7.19 Aug 28, 2020
@vinokurig
Copy link
Contributor

@dgolovin
I confirm that the use-case you mentioned above reproduces the issue in CHE and in vscode as well, see the screen cast in the upstream issue.

@ericwill
Copy link
Contributor

Closing this as it's not a Che specific issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugins kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

6 participants