Server error when uploading image with validation error in other field

Description

Reproduce

  • Set a required field, for example a required relation

  • Add a new image, upload one but don't enter the required field

  • Click create

Result: 500 error
Expected: page with validation errors

Technical tasks

None

Deployment actions

None

Assignee

Unassigned

External issue ID

None

Client

None

Min. hours

None

Dev hour estimate

None

Fix versions

Configure