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 becomes invalid after rename workspace #3574

Closed
artaleks9 opened this issue Dec 30, 2016 · 4 comments · Fixed by #7844
Closed

Project becomes invalid after rename workspace #3574

artaleks9 opened this issue Dec 30, 2016 · 4 comments · Fixed by #7844
Assignees
Labels
e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. 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. status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering.

Comments

@artaleks9
Copy link
Contributor

artaleks9 commented Dec 30, 2016

Reproduction Steps:

  • Open a workspace in the IDE and expand a project
  • Press 'Workspaces' in the navbar and perform rename the workspace
  • Open the workspace in the IDE after rename
  • Try to use the project.

Expected behavior:

  • The project should be available and restored

Observed behavior:

  • The project is invalid. This bug is reproduced only in CHE.

Che version: 5.0.0
OS and version: Ubuntu 14.04
Docker version: 1.12
Che install: [Docker container]

Additional information:

  • Related selenium test: ProjectStateAfterRenameWorkspaceTest
  • Problem can be reliably reproduced, doesn't happen randomly: [Yes]
  • See the attachment:
    rename_ws
@artaleks9 artaleks9 added the kind/bug Outline of a bug - must adhere to the bug report template. label Dec 30, 2016
@iamslite
Copy link

If you rename the workspace back again you can then access the project again, so the files are obviously still present, but the connection seems to get broken by the rename.

@garagatyi
Copy link

This is bug in storage work. So this issue should be kept by platform or enterprise team

@AbyssalReClass
Copy link

As a temporary workaround, you can move your projects manually. Workspaces are stored in /instance/data/workspaces/, just copy the projects from the directory with the old workspace name to the new one.

@vparfonov vparfonov added the severity/P2 Has a minor but important impact to the usage or development of the system. label Apr 20, 2017
@ghost ghost added team/platform and removed team/ide labels Jul 12, 2017
@ghost
Copy link

ghost commented Jul 12, 2017

Yes, when a workspace is renamed a new directory is created, and this dir does not contain project sources although workspace config has projects defined.

Luckily, when you open an IDE, it prompts you to import such a project.

@skabashnyuk skabashnyuk added the status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering. label Sep 15, 2017
@SkorikSergey SkorikSergey added the e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. label Sep 18, 2017
@skabashnyuk skabashnyuk added severity/P1 Has a major impact to usage or development of the system. and removed severity/P2 Has a minor but important impact to the usage or development of the system. labels Nov 20, 2017
@mkuznyetsov mkuznyetsov self-assigned this Dec 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. 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. status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants