Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity/field definitions Mismatched entity and/or field definitions - drupal/address address_line_3 not added with hook_update_N #407

Open
finnlewis opened this issue Nov 26, 2024 · 0 comments

Comments

@finnlewis
Copy link
Member

finnlewis commented Nov 26, 2024

We've seen a couple of instances where it appears that the address fields are out of sync with the schema.

This results in errors reported on admin/reports/status

Entity/field definitions

Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.

Geo

The geo_entity.postal_address field needs to be updated.

Geo

The localgov_geo.postal_address field needs to be updated.

Content

The node.localgov_directory_address field needs to be updated.

Paragraph

The paragraph.localgov_contact_address field needs to be updated.

image

From discussion in Slack between Joe and Ekes, it seems like a hook_update from drupal/address has not run properly.

The update in question is address_update_9201() :

https://git.drupalcode.org/project/address/-/blob/2.0.x/address.install?ref_type=heads#L31

On Greenwich, this does appear to have run, but we do not have the Address Line 3 field.

For Joe at Blackburn, this also appears to have been the case.

Why might this be?

What's a repeatable fix?

@finnlewis finnlewis transferred this issue from localgovdrupal/localgov_paragraphs Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant