In #2990876: Refactor the configuration schema and field plugin the schema for third party settings of the Geocoder Field module was changed. Let's provide an update hook so people can migrate from the old schema to the new.

CommentFileSizeAuthor
#9 2993989-9.patch2.19 KBdhirendra.mishra
#2 2993989-2.patch1.55 KBpfrenssen

Comments

pfrenssen created an issue. See original summary.

pfrenssen’s picture

Status: Active » Needs review
StatusFileSize
new1.55 KB
pol’s picture

Thanks mate, testing this later on the day.

pfrenssen’s picture

Bumpedy bump, hit this again today when trying out the 3.x branch on an existing site ;)

Without this update the following errors are thrown after upgrading to 3.x:

Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for field.field.node.event.field_event_coordinates with the following errors: field.field.node.event.field_event_coordinates:third_party_settings.geocoder_field.geocode_field missing schema, field.field.node.event.field_event_coordinates:third_party_settings.geocoder_field.reverse_geocode_field missing schema

itamair’s picture

This has already been committed with f3d5c6d3efed4d08e308929ec937522ae301bb51

itamair’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

dhirendra.mishra’s picture

I checked twice....This patch is not available in 8.x-3.x branch..We need to update the code

dhirendra.mishra’s picture

StatusFileSize
new2.19 KB

Here is the patch...

greenhorn’s picture

Can confirm that this patch is needed to fix a bug in combination with Drupal Commerce. I could not delete order items from order because of this error:

InvalidArgumentException: Field 0 is unknown. in Drupal\Core\Entity\ContentEntityBase->getTranslatedField() (Zeile 587 in /var/www/html/web/core/lib/Drupal/Core/Entity/ContentEntityBase.php).

Patch #9 was really helpful and issue was resolved. thank you @dhirendra.mishra!