Bug 2040783 - The Import from YAML summary page doesn't show the resource name if created via generateName attribute
Summary: The Import from YAML summary page doesn't show the resource name if created v...
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.10.0
Assignee: Christoph Jerolimov
QA Contact: spathak@redhat.com
Depends On:
TreeView+ depends on / blocked
Reported: 2022-01-14 16:51 UTC by Christoph Jerolimov
Modified: 2022-03-10 16:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-03-10 16:39:45 UTC
Target Upstream Version:

Attachments (Terms of Use)
name-was-not-displayed.png (21.00 KB, image/png)
2022-01-14 16:52 UTC, Christoph Jerolimov
no flags Details

System ID Private Priority Status Summary Last Updated
Github openshift console pull 10850 0 None open Bug 2040783: Show the new resource name, esp. when using generateName on the import status page 2022-01-14 19:06:27 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:39:56 UTC

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.


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