Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-20571

[2119613] GiB changes to B in Template's Edit boot source reference modal

XMLWordPrintable

    • Medium
    • None

      +++ This bug was initially created as a clone of Bug #2111240 +++

      Description of problem:
      GiB changes to B for the Disk size field, in Edit boot source reference modal, when editing VM Template's boot source reference.

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

      How reproducible:
      always

      Steps to Reproduce:
      1. Go to VM Template list
      2. For some template, choose Edit boot source reference - Actions column
      3. In the modal, edit Disk size field: click into the field and try to write any char (does not matter if number or not) or delete the default value that is 30.

      Actual results:
      The unit GiB disappears, then 0 B appears, no matter the user writes in the field.

      Expected results:
      The unit GiB stays displayed and the value can be edited normally.

      Additional info:

      — Additional comment from Guohua Ouyang on 2022-07-27 07:37:22 CST —

      It happens everywhere if there is a disk size field: in the catalog, in the disk modal etc.

      — Additional comment from Yifat Menchik on 2022-07-27 23:32:20 CST —

      After discussing this with phbailey@redhat.com, his suggestion seems good and reasonable to me. So agreed that instead of using dynamic units, we'll use a dropdown for the units and make it more consistent with other modals we have.

      — Additional comment from Guohua Ouyang on 2022-08-19 08:27:55 CST —

      verified on v4.12.0-106

              phbailey@redhat.com Phillip Rhodes
              gouyang1@redhat.com Guohua Ouyang
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: