- Issue created by @plopesc
- Merge request !99Issue #3462327: Mismatched entity and/or field definitions: The User ID field needs to be updated. v2 → (Open) created by plopesc
- Status changed to Needs review
9 months ago 11:05am 18 July 2024 - 🇧🇬Bulgaria pfrenssen Sofia
I cannot replicate this on a clean install. Installed 2.0.0-rc16, then switched to 2.0.2 and ran database updates. Goes through without errors.
Does this perhaps require a certain database version? I tried on Drupal 10.4.x using MariaDB 10.11.8.
- 🇧🇬Bulgaria pfrenssen Sofia
I can replicate it with MySQL 8.0.36, but a required step was missing from the instructions. Updating issue summary.
The error under MySQL 8.0.36 is:
SQLSTATE[22004]: Null value not allowed: 1138 Invalid use of NULL value: ALTER TABLE "eventseries_field_revision" CHANGE "uid" "uid" INT unsigned NOT NULL COMMENT 'The ID of the target entity.';
However the proposed fix is not solving the problem correctly. The update is skipped, and the mismatched field definition warning remains in the status report.