Can't configure settings under "Manage Display"

Created on 27 February 2021, almost 4 years ago
Updated 12 October 2023, about 1 year ago

Problem/Motivation

!placeholders are no longer valid in t() strings, β†’ but StyledGoogleMapDefaultFormatter::settingsForm() is using them. This causes a 500 error on the ajax request which loads the form when you click the cog for a field on the "Manage display" tab.

Steps to reproduce

  1. Add a Geofield field to a content type
  2. On the "Manage display" form for that content type, change the Format dropdown to "Styled Google Map"
  3. Click the cog on the far right side to set the format settings
  • Expected: The settings form for the Styled Google Map formatter appears
  • Actual: Nothing happens on the front end. On the back end, a 500 is generated.

Proposed resolution

Update the t() calls in StyledGoogleMapDefaultFormatter::settingsForm().

Remaining tasks

Test and merge.

User interface changes

I changed the links to be https across the board.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States joshf

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024