When the geofield is not required if the user does not fill an input geofields assumes (with #1717388-7: Empty values in Lat/lng and Bounds widgets does not work) the field is empty without warning the user.

This patch adds that validation to alert users that in case the fill one of the input they must fill the rest.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jherencia’s picture

FileSize
2.39 KB
2.82 KB
phayes’s picture

We need to be careful about the use of using empty function where we are dealing with float values that may (correctly) be "0.00"

jherencia’s picture

Assigned: Unassigned » jherencia
Status: Needs review » Needs work

Again, you are right.

jherencia’s picture

Status: Needs work » Needs review
FileSize
2.14 KB
2.58 KB
Brandonian’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.