Problem/Motivation

This error warning appears as text at the top of the manage display page for a content type with geofield field on our site. It does not produce a normal warning message but it breaks ajax on the manage display page, which is a problem because it means you cannot change field formatters for other fields.

Steps to reproduce

With a geofield field, you cannot make changes to other fields when you are changing a custom display mode. Default display modes appear to mostly not produce the error.

Proposed resolution

Apply the very simple patch attached to this ticket.

CommentFileSizeAuthor
field_display_settings_fix.patch779 bytestaiger
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Taiger created an issue. See original summary.

taiger’s picture

Title: Warning: Undefined array key "tooltip_field" in geofield_map/src/GeofieldMapFieldTrait.php on line 1047 » Warning: Undefined array key "tooltip_field" in geofield_map/src/GeofieldMapFieldTrait.php

So title better appear in search.

abhishek_gupta1’s picture

Assigned: Unassigned » abhishek_gupta1

abhishek_gupta1’s picture

Assigned: abhishek_gupta1 » Unassigned
Status: Active » Needs review

@itamair, I have fix the issue. please kindly review the MR.

itamair made their first commit to this issue’s fork.

itamair’s picture

Status: Needs review » Fixed

Merged into 3.0.x branch, will be part of the next release

Status: Fixed » Closed (fixed)

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