Closed (fixed)
Project:
Geofield
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2021 at 15:37 UTC
Updated:
14 Nov 2021 at 13:24 UTC
Jump to comment: Most recent
When entering geofield coordinates manually, using the latitude / longitude widget, if the longitude or the latitude is set to "0" (and the other to any value), then both values are lost upon saving (as if no coordinates were input)
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
el7cosmosI can reproduce this. Will add some test
Comment #4
el7cosmosComment #5
vdsh commentedThe code looks convoluted, but I didn't find any better way of writing it, and it does the job. So, +1 to commit for me!
Comment #6
itamair commentedWell ... it simply looks we want to block Coordinates values that are Null or not Numeric. So the code could be much more clear and synthetic ...
Comment #7
itamair commented