Bug 2107777 - 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.11.z
Assignee: Lokananda Prabhu
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On: 2089773
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-16 04:31 UTC by OpenShift BugZilla Robot
Modified: 2022-08-23 15:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-23 15:08:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11842 0 None open [release-4.11] Bug 2107777: Added separate reducers for status and title for pipeline status 2022-07-25 23:03:46 UTC
Red Hat Product Errata RHSA-2022:6103 0 None None None 2022-08-23 15:08:49 UTC

Description OpenShift BugZilla Robot 2022-07-16 04:31:03 UTC
+++ This bug was initially created as a clone of Bug #2089773 +++

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.

--- Additional comment from cjerolim on 2022-05-24 12:03:21 UTC ---

Created attachment 1882639 [details]
failed-details-view-non-en.png

--- Additional comment from cjerolim on 2022-05-24 12:03:40 UTC ---

Created attachment 1882640 [details]
failed-list-view-non-en.png

--- Additional comment from cjerolim on 2022-05-24 12:04:14 UTC ---

Created attachment 1882641 [details]
failed-list-view-en.png

--- Additional comment from cjerolim on 2022-05-24 12:05:14 UTC ---

Created attachment 1882642 [details]
failed-detail-view-en.png

Comment 4 spathak@redhat.com 2022-08-18 06:27:39 UTC
Verified on build version: 4.11.0-0.nightly-2022-08-17-010007
Browser version: Chrome 103

Comment 6 errata-xmlrpc 2022-08-23 15:08:36 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 (Moderate: OpenShift Container Platform 4.11.1 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:6103


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