Roy Golan has submitted this change and it was merged.
Change subject: userportal: use the default host that was set in template in a vm
......................................................................
userportal: use the default host that was set in template in a vm
When creating a vm in user portal from template that specifies a
default host the host was not passed.
The fix was to call the "doChangeDefaultHost" method in
VmModelBehaviorBase that populates the defaultHost and the
autoAssign parameters in the new vm.
Change-Id: I01e30e1831a17729f72e3cc52acec26710bc36bc
Bug-Url:
https://bugzilla.redhat.com/1284472
Signed-off-by: Jenny Tokar <jtokar(a)redhat.com>
---
M
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UserPortalNewVmModelBehavior.java
1 file changed, 5 insertions(+), 2 deletions(-)
Approvals:
Tal Nisan: Looks good to me, approved
Jenkins CI: Passed CI tests
Roy Golan: Looks good to me, but someone else must approve
Jenny Tokar: Verified
--
To view, visit
https://gerrit.ovirt.org/55911
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I01e30e1831a17729f72e3cc52acec26710bc36bc
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Jenny Tokar <jtokar(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Jenny Tokar <jtokar(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>