"user_id" is missing in the baseFieldDefinitions of filebrowser metadata entity

Created on 12 November 2019, over 5 years ago
Updated 20 May 2025, 2 months ago

According the lines 40-42 of the file "FilebrowserMetadataEntity.php", it seems like the we want to add the current user id to the entity as well.
However, since the field "user_id" is not specified in the method "baseFieldDefinitions" of the entity, the field isn't getting created in the database during installation and thus the user id isn't going to be stored in the database.

It will throw errors if you try to use any owner related methods of the filebrowser metadata entity.

πŸ› Bug report
Status

Active

Version

3.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States sker101 NYC

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