I have configured geofield with lat / long as the input, i can edit the node and the correct value is saved, but when i edit that node, the field values are empty
I have configured geofield with lat / long as the input, i can edit the node and the correct value is saved, but when i edit that node, the field values are empty
Comments
Comment #1
dgtlmoon commentedoops wrong module i think, not sure where this value came from
Comment #2
wvd_vegt commentedHi
I have exaxtly this issue after an upgrade from 7.x-1.1 to 7.x-2.0-alpha2 .
During upgrade i had no error messages. If I enter a new value in the long/lat fields of the map they are saved without an error but the map is not updated and subsequent re-editing shows empty long/lat fields again.
After some experimenting and removing the two floatval calls around line 157 of geofield.widget.inc i see a capital letter 'P' in the two fields lat/lon.
regards
wvd_vegt
Comment #3
Brandonian commentedAdded a commit that fixes this issue, along with adding unit tests to check for feature regression. It currently fails with the bounds widget, not 100% sure why yet, since manual confirmation seems to check out.
http://drupalcode.org/project/geofield.git/commit/d9f68d4
Comment #4
Brandonian commentedMarking fixed.
Comment #5
dgtlmoon commentednice work, thanks!
Comment #6
wvd_vegt commentedHi
Thanks a lot, fixes it!
regards