Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-5894

Pipeline builder sometimes doesn't show errors in task sidebar after pipeline workspace is removed

    XMLWordPrintable

Details

    • ODC Sprint 202
    • Medium

    Description

      Description of problem:

      When a user edits a Pipeline with the Pipeline Builder and removes a workspace from the Pipeline which is used in a Task, the Pipeline could not be saved and the Task shows an error. Which is fine.

      But when clicking on the Task to inspect the reason the error was "sometimes" not shown in the sidebar and may confuse the user.

      The problem is, that errors will only be shown for touched fields. So, if the user change the workspace in the sidebar before and then removes the Pipeline workspace, the error will be shown. For untouched fields the error wasn't shown.

      This is confusing here because the user can remove a workspace which is then still be shown in the sidebar. It looks like that the data are already provided.

      (All this happen similar to input and output resources.)

      Prerequisites (if any, like setup, operators/versions):

      1. Pipeline Operator (tested with version 1.4.1)

      Steps to Reproduce

      1. Create a Pipeline with the Pipeline Builder
      2. Create two workspaces in the pipeline
      3. Add task "git-cli" and select the workspace as source and input workspace for the task in the sidebar.
      4. Save the pipeline and edit it again with the Pipeline Builder
      5. Select the task and switch only one of the workspaces
      6. Remove both workspaces from the Pipeline
      7. Inspect the task again which shows now an error for one workspace and not for the other one

      Actual results:

      1. There is no indication on the task why it is invalid
      2. The error is only visible for the workspace which are touched before

      Expected results:

      1. Both workspaces should show an error when the corresponding workspace is removed.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      4.8

      Additional info:

      None

      Attachments

        Issue Links

          Activity

            People

              mdsaud Mohammed Saud (Inactive)
              cjerolim Christoph Jerolimov
              Gajanan More Gajanan More (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: