Created attachment 1750725 [details] fix rerun pipeline run when embedded pipelineSpec present Description of problem: While re-running the pipelineRun with embedded pipelinespec causes the UI to crash. Prerequisites (if any, like setup, operators/versions): Openshift Pipeline Operator 1.2 Steps to Reproduce: 1. create a pipeline with embedded pipelineSpec apiVersion: tekton.dev/v1beta1 kind: PipelineRun metadata: name: pipelinerun-with-taskspec-to-echo-good-morning spec: pipelineSpec: tasks: - name: echo-good-morning taskSpec: metadata: labels: app: "example" steps: - name: echo image: ubuntu script: | #!/usr/bin/env bash echo "Good Morning!" Actual results: rerun action throws an error in the browser console Expected results: re-run action should not result in unhandled error and it should re run the pipelinerun successfully. Reproducibility (Always/Intermittent/Only Once): Always Build Details: 4.7.0-0.nightly-2021-01-22-134922
Verified in 4.7.0-0.nightly-2021-02-01-180932.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633