I have added a "Geospatial data" type field using the "GMap picker" widget to an events content type. Whenever the node with stored Lat and Lon values gets previewed before saved, the Lat and Lon values are lost.

Comments

roball’s picture

Priority: Normal » Critical

I am sorry to increase the priority level - but hopefully it will get some attention. On my site previewing nodes are obligate before being able to save changes. This will destroy the map since the stored latidude and longitude of an already present map are lost once the [ Preview ] button is clicked. This is really a big problem.

becw’s picture

Are you sure this isn't related to http://drupal.org/node/568134 ?

roball’s picture

Ah, sorry to bother you then - I wasn't aware that this seems to be a bug with the Geo module itself.

becw’s picture

So, does the issue still exist when you change the input widget? :)

roball’s picture

Project: GMap + Geo » Geo
Version: 6.x-1.x-dev »
Component: Code » Geo Field module

Yes. I have changed the Widget type to "Latitude/Longitude". After clicking on [ Preview ] both values are blanked. So I guess the problem is only caused by the Geo module. Thus I am moving this ticket to that project.

Allie Micka’s picture

Title: Lat/Lon get lost on preview » Input gets lost on preview

Updating title

Allie Micka’s picture

Status: Active » Fixed

This should be fixed in HEAD.

Thanks!

roball’s picture

Fantastic - Geo 6.x-1.x-dev (2009-Nov-18) now works perfectly for me. Thank you Allie for fixing this!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.