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

fix: UI crashes when retrying a containerSet workflow. Fixes #11061 #11073

Merged
merged 2 commits into from
May 12, 2023

Conversation

terrytangyuan
Copy link
Member

Fixes #11061

…#11061

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
@terrytangyuan terrytangyuan enabled auto-merge (squash) May 11, 2023 14:15
@@ -292,13 +292,16 @@ export class WorkflowDag extends React.Component<WorkflowDagProps, WorkflowDagRe

private getOutboundNodes(nodeID: string): string[] {
const node = this.getNode(nodeID);
if (node.type === 'Pod' || node.type === 'Skipped') {
if (node === null) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need to check the undefined?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. Added

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
@terrytangyuan terrytangyuan merged commit e2cc777 into argoproj:master May 12, 2023
23 checks passed
@terrytangyuan terrytangyuan deleted the dev-containerset-ui branch May 12, 2023 13:57
terrytangyuan added a commit that referenced this pull request May 25, 2023
…11073)

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
JPZ13 pushed a commit to pipekit/argo-workflows that referenced this pull request Jul 4, 2023
dpadhiar pushed a commit to dpadhiar/argo-workflows that referenced this pull request May 9, 2024
…#11061 (argoproj#11073)

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI shows "null is not an object" if retry a failed container set workflow
3 participants