Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Disk Unit Fix in VM Reconfigure Form #8974

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

DavidResende0
Copy link
Member

When trying to add a new disk in the VM reconfigure form, the default values for the Unit and Bootable fields were incorrectly being set to empty strings. This meant that if the user never directly changed these fields it would only look like they were setting them to GB and false respectively.
image

Later when submitting the form, these blank values would be set to defaults by the api, which was causing "GB" to be changed to "MB" in the reconfigure request.
image

This change fixes this.

@jeffibm
Copy link
Member

jeffibm commented Nov 29, 2023

Hey @DavidResende0, the specs are failing.

@jeffibm
Copy link
Member

jeffibm commented Nov 29, 2023

the spec failures are there in other branches as well

@DavidResende0 DavidResende0 force-pushed the vm-reconfigure-disk-fix branch from 414ce13 to 8b98458 Compare November 30, 2023 20:57
@miq-bot
Copy link
Member

miq-bot commented Nov 30, 2023

Checked commit DavidResende0@8b98458 with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint
0 files checked, 0 offenses detected
Everything looks fine. 👍

@jeffibm jeffibm merged commit 93e2460 into ManageIQ:master Dec 5, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants