If I add a feature to a map and then remove that feature and try to save the node I get the following error:

Fatal error: Call to member function getY() on a -non-object ... geofield.module 239.

This happens on version 1.2 as well as the current branch 1.x-dev.

Investigating further I see that the error is caused because an expected value for $wkt is being handled improperly.

screenshot of failing function.

devel output of wkt variable

PR to follow.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dkinzer created an issue. See original summary.

dkinzer’s picture

Attaching a patch to fix this issue.

dkinzer’s picture

Status: Active » Needs review