Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2091102

Summary: Name of workload get changed, when project and image stream gets changed on edit deployment page of the workload.
Product: OpenShift Container Platform Reporter: Hemant Saini <hsaini>
Component: Dev ConsoleAssignee: Avik Kundu <akundu>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.9CC: akundu, cjerolim, divgupta, jakumar, nmukherj
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.12 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:49:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Edit Deployment Page with changed name none

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