-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
UI: Fix userdata and load balancer selection #10016
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #10016 +/- ##
============================================
+ Coverage 15.80% 15.96% +0.15%
- Complexity 12586 12737 +151
============================================
Files 5627 5627
Lines 492344 492433 +89
Branches 59694 59711 +17
============================================
+ Hits 77829 78604 +775
+ Misses 405992 405156 -836
- Partials 8523 8673 +150
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@sureshanaparti a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
UI build: ✔️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, verified in QA
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code lgtm
I am merging forward 4.19 on 4.20 and will merge this as soon as the conflicts are taken care of. |
* 4.20: UI: Fix userdata and load balancer selection (#10016) Prevent password updates for SAML and LDAP users (#9999) cloudstack-migrate-databases: sql AND added (#10033) engine/schema: move SQLs to 4.20.0 to 4.20.1 upgrade (#10018) Remove user from project before deletion (#10008) Simplify validation for creating volume templates via UI (#9828)
* 4.20: UI: Fix userdata and load balancer selection (apache#10016) Prevent password updates for SAML and LDAP users (apache#9999) cloudstack-migrate-databases: sql AND added (apache#10033) engine/schema: move SQLs to 4.20.0 to 4.20.1 upgrade (apache#10018) Remove user from project before deletion (apache#10008) Simplify validation for creating volume templates via UI (apache#9828)
Description
Currently, in the VM deployment wizard, when the user tries to select a userdata by clicking on its row (outside the radio button), the userdata is not selected. This behavior also occurs for load balancer selection in the autoscale group creation form.
Additionally, whenever the
listUserData
API response doesn't contain theparams
attribute, the following exception is thrown in the browser's console:This PR addresses these issues by enabling users to select the VM's userdata and the autoscale group's load balancer by clicking on the corresponding resource table rows. Furthermore, the UI exception is now properly handled.
Fixes #9990 and fixes #9991
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?