Active
Project:
Geofield
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2013 at 17:17 UTC
Updated:
19 Jun 2018 at 19:07 UTC
Jump to comment: Most recent
When I add GeoField to a content type if I try to set a default value, the content type will save but the default values go away. There is no obvious error when this happens, however the values are simply gone.
Comments
Comment #1
rozh commentedI have the same problem.
Comment #2
aklump commentedI have traced a bug with another module's default values disappearing when the widget is changed. The module I'm using is xml_field and when an XML field has a default value, and then it's widget is changed. The default value is lost. I've debugged this to the function \geofield_field_update_instance which is erasing the default value on a field that has nothing to do with it.
I think there is a logic problem in \geofield_field_update_instance that creates a potential for data loss. Moving this to major.