Tomas Jelinek has uploaded a new change for review. Change subject: webadmin: Edit Pool shows different template (#820231) ......................................................................
webadmin: Edit Pool shows different template (#820231) https://bugzilla.redhat.com/820231 When creating a pool from a template, than edit pool shows a different template than the one from which it has been created. The problem was, that the edit pool dialog used the same behavior class for both edit and new pool (the NewPoolModelBehavior), and this one selects always the first pool. The fix was to create a separate class ExistingPoolModelBehavior which initializes the template correctly. Change-Id: Iea1270499ebd3b1c6f7ee93d62cbc7a8167fb7c1 Signed-off-by: Tomas Jelinek <[email protected]> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/pools/PoolListModel.java A frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ExistingPoolModelBehavior.java M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ExistingVmModelBehavior.java M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/NewPoolModelBehavior.java A frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/PoolModelBehaviorBase.java M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmModelBehaviorBase.java 6 files changed, 389 insertions(+), 375 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/23/4423/1 -- To view, visit http://gerrit.ovirt.org/4423 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iea1270499ebd3b1c6f7ee93d62cbc7a8167fb7c1 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Tomas Jelinek <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
