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

[UI] Fix UI crash when invalid pipeline uploaded #2774

Merged
merged 4 commits into from
Dec 26, 2019

Conversation

Bobgy
Copy link
Contributor

@Bobgy Bobgy commented Dec 26, 2019

Fixes one of the issues (UI crashing) in #2692
/area frontend
/kind bug

Steps to reproduce:

  1. Upload an invalid pipeline
  2. Visit pipeline detail page

Current bug behavior: UI crashes and the page turns blank.
After this PR's fix: A proper error message is shown.
localhost_3000_ (7)


This change is Reviewable

@Bobgy
Copy link
Contributor Author

Bobgy commented Dec 26, 2019

/assign @jingzhang36

@jingzhang36
Copy link
Contributor

/lgtm

@Bobgy
Copy link
Contributor Author

Bobgy commented Dec 26, 2019

@jingzhang36 Thanks!
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Bobgy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Bobgy
Copy link
Contributor Author

Bobgy commented Dec 26, 2019

/hold
because travis test is still running

@Bobgy
Copy link
Contributor Author

Bobgy commented Dec 26, 2019

/hold cancel

@k8s-ci-robot k8s-ci-robot merged commit 488805c into kubeflow:master Dec 26, 2019
@Bobgy Bobgy deleted the ui_catch_graph_error branch December 26, 2019 09:46
Jeffwan pushed a commit to Jeffwan/pipelines that referenced this pull request Dec 9, 2020
* Fix UI crashing when invalid pipeline uploaded

* Fix existing tests

* Use dive instead of shallow

* Add test case for error behavior
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants