Last modified: 2013-01-28 16:29:21 UTC
To see the behavior see this diff: http://roadsignmath.com/w/index.php?title=Illinois_Cancellation&diff=prev&oldid=6700 That diff is the result of this autoedit call: c = wiki.call({'action': 'sfautoedit', 'form': 'Sign', 'target': title, 'Sign[State]': result.rows[0]['state'], 'Sign[City]': result.rows[0]['city'], 'Sign[County]': result.rows[0]['county'], 'Sign[Country]': result.rows[0]['country'] }) Note that "Coordinates" is not one of the fields being edited. When the edit occurs Semantic Forms moves the fields around in the Template as it usually does, but the Coordinates field contents are lost in the process. I've got Semantic Forms 2.5.1 and SMW 1.9 alpha.
Reassigning to f.trott - the autoedit code is his.
Had a hunch this was a problem with the map input type and a quick test suggests it is. If I change the Coordinates input type from "googlemaps" to "string" and run the sfautoedit there is no problem, it works great. If the input type is "googlemaps" it loses it's contents. Something bad happens when sfautoedit hits an input type of googlemaps.
This looks to be the same bug as #38183. *** This bug has been marked as a duplicate of bug 38183 ***