Active
Project:
Geolocation Proximity
Version:
7.x-2.0-alpha3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 May 2012 at 05:28 UTC
Updated:
24 Oct 2016 at 09:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Shven commentedThere seems to be a problem with the validation of exposed forms.
I also get this error when I change the views filter identifier (default: field_location_distance)
I guess the wrong id is passed in 'exposed_validate' (geolocation_proximity_views_handler_filter_distance.inc)
Comment #2
rclai commentedHey, has there been any fix on this?
Comment #3
rclai commentedOkay so I found the issue.
It's on the file handlers/geolocation_proximity_views_handler_filter_distance.inc.
Inside the function latlng_validate().
The value checking needs to be done with isset() or !empty(), otherwise it is passing undefined values to the form_error() function.
This is what my latlng_validate() function now looks like:
Comment #4
vincenzodb commentedPatch file for 2.0 version