Can't upload an image when adding new content to the group

Created on 29 March 2023, over 1 year ago

Problem/Motivation

I can't upload an image when adding new content to the group.

I used the below:
group: 8.x-1.5
drupal core: 9.5.3

Steps to reproduce

1- Create a group type.
2- Create a new content type and add an image field to it.
3- Create a new group.
4- Try to add content and fill the image field.
5- You will see the below error:

The specified file 1900x400.jpg could not be uploaded.
This entity (user: 996) cannot be referenced.

Proposed resolution

I think we can make some changes to EntityQueryAlter to fix the user query. Or but I'm not sure, we can exclude the query alter for the file and user entities.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.5

Component

Code

Created by

🇯🇴Jordan Odai Atieh Amman

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

Comments & Activities

Production build 0.71.5 2024