Hi
I'm getting this error in Content Type page when I add/save some new field

"Notice: Undefined index: in geofield_field_formatter_settings_summary() (linea 179 di /htdocs/public/www/sites/all/modules/geofield/geofield.formatters.inc)."

Is it a issue?

CommentFileSizeAuthor
#4 geofield_notice.jpg132.1 KBzoltán balogh

Comments

Brandonian’s picture

Status: Active » Closed (cannot reproduce)

Thanks for the bug report, but I can't replicate on my system. I fixed an issue with the field code that might be related, but if you still see the same issue, please reopen.

arrow’s picture

Title: Error » Undefined index: in geofield_field_formatter_settings_summary()
Status: Closed (cannot reproduce) » Active

I also receive this error... Line 181 of geofield.formatters.inc in 8/20 dev release.

I receive it when setting the format as "OpenLayers" in the field display settings for my content type.

*Changed title to be more descriptive

arrow’s picture

Status: Active » Closed (works as designed)

Scratch that...

Updating to the latest dev version of OpenLayers fixed the issue.

zoltán balogh’s picture

Status: Closed (works as designed) » Active
StatusFileSize
new132.1 KB

The latest dev version of the OpenLayers is not fixing this issue, see in the attachment. The notice is not shown on the Teaser tab, only on the Default tab.

Anonymous’s picture

Same issue here. Latest dev versions of both modules since the "stable" versions wouldn't work either.

I'm also getting lots of "Undefined property: stdClass::$name in openlayers_layer_sanity_check()"

I need a sanity check right about now!

phayes’s picture

Okay, I've managed to replicate this. I think it's because we are not filling in the default openlayers map in the formatter settings. Assigning to me to be fixed.

phayes’s picture

Assigned: Unassigned » phayes
phayes’s picture

So it looks like this commit (http://drupal.org/commitlog/commit/19248/3b65b06031d4c4ff48c78ebfd6ccdc6...) accidentally deleted our formatter map. I will add it back in

phayes’s picture

Status: Active » Fixed

This has been fixed

Status: Fixed » Closed (fixed)

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

drzraf’s picture

Status: Closed (fixed) » Active

Notice: Undefined index: in geofield_field_formatter_settings_summary() (line 181 of /modules/geofield/geofield.formatters.inc).
can reproduce with geofield 7.x-1.x, openlayers 7.x-2.x, happens when switching the display format of a geofield from WKT to Openlayers.

$settings = array
  'data' => string '' (length=0)
  'map_preset' => string '' (length=0)

thus probably related to instance and view_mode, let me know if you want to me to var_dump something somewhere else.

Brandonian’s picture

Status: Active » Fixed

Thanks for the bug report, @drzraf! I've committed a fix for this issue.

http://drupal.org/commitlog/commit/19248/deec4d2c38dc0cbee28d687b42eb094...

Status: Fixed » Closed (fixed)

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