Bug 2098282 - Javascript error when changing boot source of custom template to be an uploaded file
Summary: Javascript error when changing boot source of custom template to be an upload...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.11.0
Assignee: Ugo Palatucci
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-17 20:16 UTC by Adam Litke
Modified: 2022-09-14 19:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-14 19:35:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
JS Error when clicking Save (81.86 KB, image/png)
2022-06-17 20:16 UTC, Adam Litke
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 645 0 None open Bug 2098282: Ensure onUploadedDataVolume exist 2022-06-20 11:23:09 UTC
Red Hat Product Errata RHSA-2022:6526 0 None None None 2022-09-14 19:36:07 UTC

Description Adam Litke 2022-06-17 20:16:58 UTC
Created attachment 1890987 [details]
JS Error when clicking Save

Description of problem: I created a custom template based on a rhel9 template which already had a populated source.  I then tried to replace the boot disk with one that I would upload.  When trying to save changes I get a JS error: "onUploadedDataVolume is not a function".


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


How reproducible: Always


Steps to Reproduce:
1. Clone rhel9 template to a new rhel9-custom
2. Visit the Disks tab of the rhel9-custom template
3. On the rootdisk entry select Edit from the kabob menu
4. Change Source to Upload
5. Choose a file to upload and click Save

Actual results: The error "onUploadedDataVolume is not a function" is displayed


Expected results: Upload should commence and the template should be usable to create VMs with the updated boot source.


Additional info:

Comment 1 Leon Kladnitsky 2022-06-21 15:01:21 UTC
Verified on v4.11.0-65

Comment 4 errata-xmlrpc 2022-09-14 19:35:59 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 Virtualization 4.11.0 Images security and bug fix 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:6526


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