Bug 2089773 - Pipeline status filter and status colors doesn't work correctly with non-english languages
Summary: Pipeline status filter and status colors doesn't work correctly with non-engl...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.12.0
Assignee: Lokananda Prabhu
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 2107777
TreeView+ depends on / blocked
 
Reported: 2022-05-24 12:02 UTC by Christoph Jerolimov
Modified: 2022-11-29 13:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:13:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
failed-details-view-non-en.png (24.25 KB, image/png)
2022-05-24 12:03 UTC, Christoph Jerolimov
no flags Details
failed-list-view-non-en.png (28.75 KB, image/png)
2022-05-24 12:03 UTC, Christoph Jerolimov
no flags Details
failed-list-view-en.png (24.73 KB, image/png)
2022-05-24 12:04 UTC, Christoph Jerolimov
no flags Details
failed-detail-view-en.png (31.82 KB, image/png)
2022-05-24 12:05 UTC, Christoph Jerolimov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11678 0 None open Bug 2089773: Added separate reducers for status and title for pipeline status 2022-06-09 05:35:20 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:13:54 UTC

Description Christoph Jerolimov 2022-05-24 12:02:44 UTC
Description of problem:
1. When the user selects another language, the status filter on the `Pipeline` list page shows only zeros.

2. The `Pipeline` list page also doesn't show the right status colors for the last `PipelineRun` anymore. Instead of a green or red progress bar it shows just a blue progress bar.

3. If an error happens the user can also not check the log-tail directly from the list view.

4. On the `PipelineRun` detail page the pipeline visualization, and status doesn't use the right colors as well.

5. Similar on the TaskRun and Logs tab.


Version-Release number of selected component (if applicable):
4.9-4.11

How reproducible:
Always

Steps to Reproduce:
1. Install OpenShift Pipelines operator
2. Import a component and enable Pipelines support (or create a Pipeline manually)
3. Navigate to the Pipeline list and inspect the colors
4. Open another tab to switch the language
5. Refresh the Pipeline list browser tab.

Actual results:
See the 5 spots where the colors are expected. All of them are blue for the translated languages.

Expected results:
The colors should be similar to the English version, green and red.

Additional info:
It looks like that the mapping is using a status label instead of a status id to lookup the colors.

Comment 1 Christoph Jerolimov 2022-05-24 12:03:21 UTC
Created attachment 1882639 [details]
failed-details-view-non-en.png

Comment 2 Christoph Jerolimov 2022-05-24 12:03:40 UTC
Created attachment 1882640 [details]
failed-list-view-non-en.png

Comment 3 Christoph Jerolimov 2022-05-24 12:04:14 UTC
Created attachment 1882641 [details]
failed-list-view-en.png

Comment 4 Christoph Jerolimov 2022-05-24 12:05:14 UTC
Created attachment 1882642 [details]
failed-detail-view-en.png

Comment 7 Christoph Jerolimov 2022-07-25 23:03:02 UTC
Verified on 4.12.0-0.nightly-2022-07-25-122035

Comment 8 errata-xmlrpc 2022-08-10 11:13:40 UTC
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 (Important: OpenShift Container Platform 4.11.0 bug fix and security 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-2022:5069


Note You need to log in before you can comment on or make changes to this bug.