Bug 2040783

Summary: The Import from YAML summary page doesn't show the resource name if created via generateName attribute
Product: OpenShift Container Platform Reporter: Christoph Jerolimov <cjerolim>
Component: Dev ConsoleAssignee: Christoph Jerolimov <cjerolim>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: low Docs Contact:
Priority: low    
Version: 4.10CC: aos-bugs, nmukherj
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:39:45 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:
Description Flags
name-was-not-displayed.png none

Description Christoph Jerolimov 2022-01-14 16:51:38 UTC
Description of problem:
As a user, I want to import multiple resources with a `generateName` so that I can reimport them multiple times. When importing a resource with this attribute the summary page doesn't show the resource name (and link).

Version-Release number of selected component (if applicable):
4.10 (older versions not tested)

How reproducible:

Steps to Reproduce:
1. Navigate to the Import YAM page by clicking the + icon in the top right corner
2. Import this YAML for example:

apiVersion: primer.gitops.io/v1alpha1
kind: Export
  generateName: new-export-
  method: 'download'
apiVersion: primer.gitops.io/v1alpha1
kind: Export
  name: new-export-asdfasdf
  method: 'download'

3. Press Create and checkout the "Resource successfully created" page

Actual results:
The created resource has no name and no link.

Expected results:
The resource should show the generated name and a link to that resource.

Additional info:

Comment 1 Christoph Jerolimov 2022-01-14 16:52:10 UTC
Created attachment 1850805 [details]

Comment 4 Christoph Jerolimov 2022-01-20 13:38:40 UTC
Verified on 4.10.0-0.nightly-2022-01-20-082726

Comment 7 errata-xmlrpc 2022-03-10 16:39:45 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.10.3 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.