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
- Add a Geofield field to a content type
- On the "Manage display" form for that content type, change the Format dropdown to "Styled Google Map"
- 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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | update_t_placeholders-3200718-2.patch | 2.8 KB | joshf |
Comments
Comment #2
joshf commentedThis fixes the issue for me.
Comment #3
joshf commentedComment #5
a.dmitriiev commented