Unknown field user_id on Accepted entity

Created on 23 April 2021, about 3 years ago
Updated 31 May 2024, 28 days 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.69.0 2024