FileUploadForm support

Created on 28 May 2025, about 2 months ago

Problem/Motivation

When uploading a file, the FileUploadForm form object doesn't have the method "getEntity" (in DecorativeWidgetFormAlter::alterForm) which causes an error and one cannot upload anything.

Proposed resolution

The entity should only be called if the method getEntity() exists. Otherwise the checkbox should be shown (if configured?). I don't know, maybe the config stuff, which currently only works with an existing entity, should be changed to not be dependent from that?

โœจ Feature request
Status

Active

Version

1.3

Component

Code

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany drupatz

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

Comments & Activities

Production build 0.71.5 2024