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

Bug 1997048

Summary: User can create same domain mapping multiple times
Product: OpenShift Container Platform Reporter: yvakil
Component: Dev ConsoleAssignee: yvakil
Status: CLOSED ERRATA QA Contact: Jaivardhan Kumar <jakumar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: aos-bugs, jakumar, msaud, nmukherj
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:48:10 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
Many duplicates are created in the dropdown `options` none

Description yvakil 2021-08-24 10:18:39 UTC
Created attachment 1817125 [details]
Many duplicates are created in the dropdown `options`

Description of problem:
While creating the domain mapping, user can create the same domain mapping multiple times.

Prerequisites (if any, like setup, operators/versions):
Install OpenShift Serverless Operator and create Knative Eventing CR

Steps to Reproduce
Select any import flow
Select Serverless Deployment resource type
Click on Advanced Option
Create a domain mapping "domain.org"
Type the same domain mapping again and it will get created
Actual results:
Same domain mapping get created multiple times

Expected results:
It shouldn't create the same domain mappings multiple times, instead, it should ask the user to select an already created one when he tries to create the same again.

Reproducibility (Always/Intermittent/Only Once):
Always

Build Details:
4.9.0-0.ci-2021-07-28-013104

Additional info:

Comment 3 Jaivardhan Kumar 2021-08-30 12:06:32 UTC
verified on 4.9.0-0.nightly-2021-08-29-010334

Comment 6 errata-xmlrpc 2021-10-18 17:48:10 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.9.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-2021:3759