Bug 2091102 - Name of workload get changed, when project and image stream gets changed on edit deployment page of the workload.
Summary: Name of workload get changed, when project and image stream gets changed on e...
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: Avik Kundu
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-27 14:41 UTC by Hemant Saini
Modified: 2023-01-17 19:49 UTC (History)
5 users (show)

Fixed In Version: 4.12
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-17 19:49:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Edit Deployment Page with changed name (1.24 MB, image/png)
2022-05-27 14:41 UTC, Hemant Saini
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11758 0 None open Bug 2091102: Name of workload get changed, when project and image stream gets changed on edit deployment page of the wor... 2022-06-23 23:40:37 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:49:41 UTC

Description Hemant Saini 2022-05-27 14:41:24 UTC
Created attachment 1884233 [details]
Edit Deployment Page with changed name

Description of problem:
Name of workload get changed, when project and image stream gets changed on edit deployment page of the workload.


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

How reproducible:
Always

Steps to Reproduce:
1. Create a deployment workload
2. Select Edit Deployment option on workload
3. Verify initially name was same as workload name and field was not changeable.
4. Change the project to "openshift", image stream to "golang" or anything and tag to "latest"
5. Now check that the name also got changed to golang.

Actual results:
Name of workload changes when project and image stream name changed on edit deployment page.

Expected results:
Workload name doesn't have to be changed, when image stream name changed on edit deployment page, as name field is not changeable.

Additional info:
While performing automation, I can see the error "the name of the object(imageStreamName) does not match the name on the URL(workloadName)", but while performing this on UI, no errors.

Comment 4 Hemant Saini 2022-09-01 11:18:28 UTC
verified on cluster build: v4.12
verified on browser: chrome v104

Additional Comment:
Name of workload still got changed, when project and image stream gets changed on "reloading" the form on the edit deployment page of the workload
Bug: https://issues.redhat.com/browse/OCPBUGS-800

Comment 7 errata-xmlrpc 2023-01-17 19:49:26 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.12.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:7399


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