Unknown field user_id on Accepted entity

Created on 23 April 2021, over 3 years ago
Updated 31 May 2024, 7 months ago

Problem/Motivation

Drupal\Core\Entity\EntityStorageException: Field user_id is unknown. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 846 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

Steps to reproduce

Try to use method getOwner on legal_accepted entity

Proposed resolution

Change user_id to uid as stated in BaseFieldDefinitions

Remaining tasks

Review MR/Patch

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇩🇪Germany a.dmitriiev

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