Drupal 9 missing 'config_export' definitions

Created on 16 August 2021, over 3 years ago
Updated 2 May 2024, 7 months ago

Problem/Motivation

When you try to add a mapping via the UI, the following error appears:

Drupal\Core\Config\Schema\SchemaIncompleteException: Entity type 'Drupal\smartip_language_detection\Entity\SmartIpLanguageMapping' is missing 'config_export' definition in its annotation in Drupal\Core\Config\Entity\ConfigEntityBase->toArray() (line 252 of core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php).

It is because Drupal 9 requires config_export annotation for config entities, see https://www.drupal.org/node/2481909 .

Proposed resolution

Add the missing config_export annotation

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇦🇺Australia peterwcm

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024