Problem/Motivation
After Drupal Core was updated, we are seeing the following error in the status page:

While I was doing Google search for resolution, I came to this page and it was suggesting to open a support request in its issue queue.
https://www.drupal.org/node/3034742
Using:
Drupal Version
9.4.15
Recurring Events module
2.0.0-rc12
Please let me know if you need more information.
Thank you for your help!
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | Screenshot 2023-09-22 at 2.42.17 PM.png | 34.82 KB | owenbush |
| Screen Shot 2023-08-30 at 2.12.59 PM.png | 706.17 KB | cswan | |
| Screen Shot 2023-08-30 at 10.16.28 AM.png | 68.26 KB | cswan |
Issue fork recurring_events-3384389
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
owenbush commentedI think this must be a hangover from:
https://git.drupalcode.org/project/recurring_events/-/commit/6bdc2517395...
I'll have to think how to resolve this.
Comment #3
cswan commentedHi!
Thank you for responding to this ticket.
I found the following solution that had seemed to work for us. Do you think that this is a good solution?:
https://www.drupal.org/node/3034742#comment-13999920
Thank you for your help!
Comment #6
andyf commentedI think that's right: in that commit the new trait doesn't set the field as revisionable although the original was, this seems to be the cause of the mismatch.
Comment #7
owenbush commentedThanks, Andy. It looks to me like in some other circumstances some of these other fields can end up mismatching, so I went ahead and added a hook update to resolve those too. Good find on the revisionable though.
For example I had this locally:
So the hook update should update uid for those who may have already tried to resolve this, and then also those other mismatches.
Comment #9
rpayanmPlease review.
Comment #11
owenbush commentedThis has been merged in 2.0.x
Comment #13
kasperg commentedIn case anyone stumbles upon this I encountered an error when running the database update when going from 2.0.0-rc16 to 2.0.0.
It is not important to me at this point but it may be relevant for others upgrading.
Comment #14
kasperg commentedComment #15
plopescCreated #3462327: Mismatched entity and/or field definitions: The User ID field needs to be updated. v2 to deal with the error mentioned in the last comment.