set displayName to name by default#9719
Conversation
|
@blueorangutan package |
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #9719 +/- ##
============================================
+ Coverage 16.23% 16.26% +0.03%
- Complexity 13377 13418 +41
============================================
Files 5657 5658 +1
Lines 498865 499428 +563
Branches 60545 60613 +68
============================================
+ Hits 80991 81233 +242
- Misses 408843 409146 +303
- Partials 9031 9049 +18
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11176 |
|
@DaanHoogland the API response does have the "displayname" in place. but the name/displayname is not displayed on UI. as a simple workaround, can we revert #8503 ? @DaanHoogland |
yes, you are right, I'll creat another PR, reapply the changes here, and work on this later. |
|
@weizhouapache a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
b7a8a71 to
7e3bf26
Compare
desplayName to name by defaultdisplayName to name by default
|
@DaanHoogland is this ready for review ? |
api/src/main/java/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
Outdated
Show resolved
Hide resolved
harikrishna-patnala
left a comment
There was a problem hiding this comment.
code LGTM.
Note: Currently I see we are already setting the name given in the UI form directly to both name and displayName. This PR is more of code level defaulting.
|
@blueorangutan package |
|
@sudo87 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Description
This PR prevents a null display name on VMs (see #8503 (comment))
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?