Entity definition mismatch: language field need update

Created on 26 September 2025, 20 days ago

On which WissKI instance happened the incidence?

dfg-repository.wisski.cloud

When does the issue occur?

Status report show a warning: Entity definition mismatch: field need update

What exactly lead to the behaviour?

Language field definition is set to not null, but has null values in revision tables.

What did you expect? Do you want to display, configure or save something?

Should only langcode strings, en, de ,und

What happened instead? Did the page crash, is there an error or did the action not take place?

Cannot update the wisski_individual befor null values are udpated, i.e. with drush entity:update wisski_individual:
Exception thrown while performing a schema update. SQLSTATE[01000]: Warning: 1265 Data truncated for column 'langcode' at row 1: ALTER TABLE "wisski_revision" CHANGE "langcode" "langcode" VARCHAR(12) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL; Array()

What should we do

Update the basefield definition for the langcode, and update the table values/ write a update hook for legacy fields.

📌 Task
Status

Active

Version

4.0

Component

Code

Created by

🇩🇪Germany rnsrk

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

Merge Requests

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