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

rozh’s picture

Issue summary: View changes

I have the same problem.

aklump’s picture

Priority: Normal » Major

I 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.