Error: Call to undefined method Drupal\opigno_module\Entity\OpignoActivity::getRevisionMetadataKey() in Drupal\opigno_module\Entity\OpignoActivity->preSaveRevision() (line 456 of modules/contrib/opigno_module/src/Entity/OpignoActivity.php).

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

Problem/Motivation

After updating to Drupal 10 error with opigno_module appears.
Error: Call to undefined method Drupal\opigno_module\Entity\OpignoActivity::getRevisionMetadataKey() in Drupal\opigno_module\Entity\OpignoActivity->preSaveRevision() (line 456 of modules/contrib/opigno_module/src/Entity/OpignoActivity.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.
Go to activities list. Then try to create or edit any activity. Click on Save 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