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

Skip failed project resolving in case if the last one is empty #3767

Merged
merged 5 commits into from
Jan 17, 2017

Conversation

vzhukovs
Copy link
Contributor

@vzhukovs vzhukovs commented Jan 17, 2017

This proposal fixes that bug when user is trying to import an empty project through the UI. In this case project resolving fails with 500 Internal server error, client side should process this exception without any warning dialogs, but server side should be also return empty estimation list on empty project.

This PR fixes only client side.

Related issue: #3766

@vzhukovs vzhukovs added kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. team/plugin labels Jan 17, 2017
@vzhukovs vzhukovs self-assigned this Jan 17, 2017
Update is not needed here, because incoming project already contains project type information
@JamesDrummond JamesDrummond added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. and removed severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. labels Jan 17, 2017
@JamesDrummond JamesDrummond added this to the 5.1.0 milestone Jan 17, 2017
Vitalii Parfonov added 3 commits January 17, 2017 17:19
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
@vparfonov vparfonov merged commit 526c04c into master Jan 17, 2017
@vparfonov vparfonov deleted the che#3766 branch January 17, 2017 15:32
@codenvy-ci
Copy link

@vzhukovs vzhukovs removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Jan 18, 2017
@JamesDrummond JamesDrummond mentioned this pull request Jan 31, 2017
9 tasks
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
…se-che#3767)

* Skip failed project resolving in case if the last one is empty
* Remove redundant project update Update is not needed here, because incoming project already contains project type information
* Check is composer.json file exist before parse it

Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants