Bug 2052986

Summary: Console crashes when Mid cycle hook in Recreate strategy(edit deployment/deploymentConfig) selects Lifecycle strategy as "Tags the current image as an image stream tag if the deployment succeeds"
Product: OpenShift Container Platform Reporter: spathak <spathak>
Component: Dev ConsoleAssignee: Debsmita Santra <dsantra>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.10CC: aos-bugs, cjerolim, dsantra, nmukherj
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 10:49:18 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:
Bug Depends On:    
Bug Blocks: 2059849    
Attachments:
Description Flags
Console crashes with white screen none

Description spathak@redhat.com 2022-02-10 11:58:44 UTC
Created attachment 1860322 [details]
Console crashes with white screen

Description of problem:
Console crashes when a user selects Lifecycle Actions as Tags the current image as an image stream tag if the deployment succeeds in Edit Deployment/DeploymentConfig form

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


How reproducible: Always


Steps to Reproduce:
1. Create a deployment config
2. In topology select edit DeploymentConfig in the context menu
3. Select strategy type as Recreate and click on "Show additional parameters and lifecycle hooks"
4. Click on Add a midcycle hook button
5. Select the Lifecycle action as "Tags the current image as an image stream tag if the deployment succeeds"

Actual results:
UI crashes with white screen

Expected results:
User should be able to add the midcycle hook

Additional info:

Comment 3 Christoph Jerolimov 2022-03-17 11:12:03 UTC
Verified on 4.11.0-0.nightly-2022-03-16-103946

Comment 5 errata-xmlrpc 2022-08-10 10:49:18 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