Update from beta to 3.0.0 leads to entity/fields definition errors

Created on 7 June 2023, over 1 year ago
Updated 18 June 2023, over 1 year ago

Problem/Motivation

I was using the beta version of the module on a development environment.
I updated to the latest 3.0.0 version with composer and now the Report Status of the Drupal instance is reporting the following errors:

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

Order item
The Registration field needs to be updated.

Order
The Cart field needs to be updated.
The Checkout flow field needs to be updated.
The Checkout step field needs to be updated.

Registration
The Order field needs to be updated.

Steps to reproduce

Install the beta version, then update to latest 3.0.0 version using composer.
drush updatedb
drush cr

πŸ’¬ Support request
Status

Closed: works as designed

Version

3.0

Component

Miscellaneous

Created by

πŸ‡§πŸ‡ͺBelgium Axael

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Axael
  • πŸ‡ΊπŸ‡ΈUnited States john.oltman

    Which beta version? Did you update the Registration module and Drupal Commerce at the same time? The errors on the Order entity are with Drupal Commerce and not related to Commerce Registration. It makes me think you may have a general issue with Drupal Commerce order objects in your install, and not an issue with Commerce Registration.

  • πŸ‡§πŸ‡ͺBelgium Axael

    It was the beta4 version.

    I did a composer update so Drupal Commerce could have been updated at the same time, indeed.

    It's the first time I'm experiencing this error, but you're right, it's probably coming from the Commerce side instead.

  • πŸ‡ΊπŸ‡ΈUnited States john.oltman

    Instead of doing a general composer update, try this:

    composer update drupal/registration drupal/commerce_registration -W

    That will update only the registration related modules, and not Commerce, which may help.

    (You would have to restore your DEV site from backup first, of course, before trying this approach.)

  • Status changed to Closed: works as designed over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States john.oltman
Production build 0.71.5 2024