Drupal 9 missing 'config_export' definitions

Created on 16 August 2021, almost 3 years ago
Updated 2 May 2024, about 2 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.69.0 2024