Change in ovirt-engine[ovirt-engine-3.5]: core: Fix NPE when disk size is not yet set

Tal Nisan has submitted this change and it was merged. Change subject: core: Fix NPE when disk size is not yet set ...................................................................... core: Fix NPE when disk size is not yet set Available disk size is set to null on Storage Domain creation, to be later polled and updated. This patch protects from the period of time this value is null, a situation that can occur in storage allocation validations on new domains. Change-Id: Icca933dcf506ca702161fcfbfe400a7259d20d1a Bug-Url: https://bugzilla.redhat.com/1176854 Signed-off-by: Vered Volansky <vvolansk@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/StorageDomainValidator.java M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/StorageDomain.java 2 files changed, 10 insertions(+), 8 deletions(-) Approvals: Tal Nisan: Looks good to me, approved Vered Volansky: Verified -- To view, visit http://gerrit.ovirt.org/36384 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Icca933dcf506ca702161fcfbfe400a7259d20d1a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5 Gerrit-Owner: Vered Volansky <vvolansk@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: Vered Volansky <vvolansk@redhat.com> Gerrit-Reviewer: automation@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
tnisan@redhat.com