+++ This bug was initially created as a clone of Bug #1790557 +++
Description of problem:
When using the `default` property in a Pipeline param, it prevents the UI from creating a PipelineRun due to it straight copying the params and `default` is not a valid property in a PipelineRun params.
Version-Release number of selected component (if applicable):
4.2.14 of OpenShift Console
100% when Pipeline params has a `default` property. Otherwise not an issue.
Steps to Reproduce:
1. Create a Pipeline with a param that includes a `default` property
2. Try to start the Pipeline
There is no UI update / error. The UI does nothing when the Pipeline is trying to be started. The PipelineRun is not created.
The PipelineRun to be created and thus starting the Pipeline. Shouldn't have an issue with `default` in Pipeline params.
--- Additional comment from Andrew Ballantyne on 2020-01-13 15:49:49 UTC ---
Jira issue: https://issues.redhat.com/browse/ODC-2719
--- Additional comment from Andrew Ballantyne on 2020-01-16 16:46:20 UTC ---
Became a blocker from PM's point of view when we investigated and found that even without a `default` the params provided a `default` with the value the user enters in the UI... thus causing the issue 100% anytime using Pipeline params.
No issue exists on 4.3, but this ticket is needed to validate that it works before it can be back-ported to 4.2
This is not a real issue - we fixed this already but we use Jira for bug tracking. This ticket is purely paperwork for https://bugzilla.redhat.com/show_bug.cgi?id=1790557
I need this reviewed by QE in India tomorrow morning in order to get my blocker for 4.2.z in... I'll mark this as 4.3.z in the hopes that will work for the bot in OpenShift and not get in the way of the RC for 4.3.0
PR in question: https://github.com/openshift/console/pull/3983
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.