Change in ovirt-engine[ovirt-engine-4.0]: webadmin, userportal: Clean up Editor fields before Model obj...

From Tal Nisan <tnisan@redhat.com>:
Tal Nisan has submitted this change and it was merged. Change subject: webadmin,userportal: Clean up Editor fields before Model objects ...................................................................... webadmin,userportal: Clean up Editor fields before Model objects This ensures that GWT widgets hooked to UiCommon models have a chance to do their cleanup *before* we destroy the models. This fixes NPEs where a model is already destroyed but a GWT widget attempts to access its properties such as the property change event, see AbstractUiCommandButton#cleanup for example. Change-Id: I3dd8e320a774c35db8262e9a297557243a99ef5a Bug-Url: https://bugzilla.redhat.com/1389998 Signed-off-by: Vojtech Szocs <vszocs@redhat.com> Signed-off-by: Greg Sheremeta <gshereme@redhat.com> --- M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/binding/UiCommonEditorDriverGenerator.java M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/editor/UiCommonEditorDriver.java 2 files changed, 20 insertions(+), 20 deletions(-) Approvals: Alexander Wels: Looks good to me, approved Jenkins CI: Passed CI tests Greg Sheremeta: Verified -- To view, visit https://gerrit.ovirt.org/65918 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3dd8e320a774c35db8262e9a297557243a99ef5a Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-4.0 Gerrit-Owner: Greg Sheremeta <gshereme@redhat.com> Gerrit-Reviewer: Alexander Wels <awels@redhat.com> Gerrit-Reviewer: Greg Sheremeta <gshereme@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Oved Ourfali <oourfali@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: Vojtech Szocs <vszocs@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review