Call to undefined method Drupal\opigno_calendar_event\Entity\CalendarEvent::getRevisionMetadataKey() after update to Drupal 10

Created on 12 October 2023, about 1 year ago
Updated 13 October 2023, about 1 year ago

Problem/Motivation

After updating to Drupal 10 error with opigno_calendar_event appears.
Call to undefined method Drupal\opigno_calendar_event\Entity\CalendarEvent::getRevisionMetadataKey() in Drupal\opigno_calendar_event\Entity\CalendarEvent::baseFieldDefinitions() (line 244 of modules/contrib/opigno_calendar_event/src/Entity/CalendarEvent.php).

The reason of it:
In Drupal 9 getRevisionMetadataKey() method declared as deprecated and removed from Drupal\Core\Entity\RevisionLogEntityTrait in Drupal 10 release.

Steps to reproduce

Update to Drupal 10.
Try with drush cr and error should appear.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine oleksandr.s

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

Comments & Activities

Production build 0.71.5 2024