Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
PR to follow.
Comment | File | Size | Author |
---|---|---|---|
#2 | Fix-error-when-wtk-is-GEOMETRYCOLLECTION-EMPTY-2646940-1.patch | 1.01 KB | dkinzer |
2016-01-08_12-50-56.png | 29.92 KB | dkinzer | |
2016-01-08_12-50-00.png | 41.74 KB | dkinzer |
Comments
Comment #2
dkinzer CreditAttribution: dkinzer as a volunteer and commentedAttaching a patch to fix this issue.
Comment #3
dkinzer CreditAttribution: dkinzer as a volunteer and commented