Skip to content

Conversation

@andreidan
Copy link
Contributor

A geo box with a top value of Double.NEGATIVE_INFINITY will yield an empty
xContent which translates to a null geoBoundingBox. This commit marks the
field as Nullable and guards against null when retrieving the topLeft
and bottomRight fields.

Fixes #50505

(cherry picked from commit 051718f)
Signed-off-by: Andrei Dan [email protected]

Backport of #50506

A geo box with a top value of Double.NEGATIVE_INFINITY will yield an empty
xContent which translates to a null `geoBoundingBox`. This commit marks the
field as `Nullable` and guards against null when retrieving the `topLeft`
and `bottomRight` fields.

Fixes elastic#50505

(cherry picked from commit 051718f)
Signed-off-by: Andrei Dan <[email protected]>
@andreidan andreidan merged commit 856607b into elastic:7.x Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant