Unable to get an entity updated

Created on 20 May 2024, about 1 month ago
Updated 26 May 2024, about 1 month ago

Problem/Motivation

This issue is happening when using MySQL database and MySQL module.

Status Report

Mismatched entity and/or field definitions
- at first there are 3 mismatches
- drush updb doesn't resolve the 1 mismatch below but resolves the others

> The following changes were detected in the entity type and field definitions.
>> Bookable Calendar Opening
>>> The Date field needs to be updated

Steps to reproduce

drush updb

------------ --------------- ------------- -----------------------------------
Module Update ID Type Description
------------ --------------- ------------- -----------------------------------
smart_date increase_colu post-update Increase the storage size to
mn_revisions resolve the 2038 problem on
revisions.
smart_date increase_colu post-update Increase the storage size to
mn_storage resolve the 2038 problem.
smart_date refresh_value post-update Increase the storage size to
_schema resolve the 2038 problem on
revisions.
smart_date resize_durati post-update Increase the storage size for the
on duration column.
smart_date resize_durati post-update Increase the schema size for
on_schema durations.
------------ --------------- ------------- -----------------------------------

Do you wish to run the specified pending updates? (yes/no) [yes]:
> yes

> [notice] Update started: smart_date_post_update_increase_column_revisions
> [notice] Successfully updated entity revisions 'booking' field 'booking_date' to remove year 2038 limitation.
> [notice] Successfully updated entity revisions 'bookable_calendar_opening' field 'date' to remove year 2038 limitation.
> [notice] Successfully updated entity revisions 'bookable_calendar_opening_inst' field 'date' to remove year 2038 limitation.
> [notice] Update completed: smart_date_post_update_increase_column_revisions
> [notice] Update started: smart_date_post_update_increase_column_storage
> [notice] Successfully updated entity 'booking' field 'booking_date' to remove year 2038 limitation.
> [notice] Successfully updated entity 'bookable_calendar_opening' field 'date' to remove year 2038 limitation.
> [notice] Successfully updated entity 'bookable_calendar_opening_inst' field 'date' to remove year 2038 limitation.
> [notice] Update completed: smart_date_post_update_increase_column_storage
> [notice] Update started: smart_date_post_update_refresh_value_schema
> [notice] Successfully updated stored schema for 'booking' field 'booking_date'.
> [notice] Successfully updated stored schema for 'bookable_calendar_opening' field 'date'.
> [notice] Successfully updated stored schema for 'bookable_calendar_opening_inst' field 'date'.
> [notice] Update completed: smart_date_post_update_refresh_value_schema
> [notice] Update started: smart_date_post_update_resize_duration
> [notice] Successfully updated 'booking' field 'booking_date' to increase duration storage.
> [notice] Successfully updated 'bookable_calendar_opening' field 'date' to increase duration storage.
> [notice] Successfully updated 'bookable_calendar_opening_inst' field 'date' to increase duration storage.
> [notice] Update completed: smart_date_post_update_resize_duration
> [notice] Update started: smart_date_post_update_resize_duration_schema
> [notice] Successfully updated stored schema for 'booking' field 'booking_date'.
> [notice] Successfully updated stored schema for 'bookable_calendar_opening' field 'date'.
> [notice] Successfully updated stored schema for 'bookable_calendar_opening_inst' field 'date'.
> [notice] Update completed: smart_date_post_update_resize_duration_schema
[success] Finished performing updates.

πŸ’¬ Support request
Status

Closed: cannot reproduce

Version

2.2

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States crutch

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

Comments & Activities

Production build 0.69.0 2024