StorageIntentUpload class not found

Description

When I want to create a new embedded document (feature item item in dzg) with a storage object inside the embedded document, an error occurs:
The class 'Integrated\Bundle\StorageBundle\Form\Upload\StorageIntentUpload' was not found in the chain configured namespaces Integrated\Bundle\ContentBundle\Document, Integrated\Bundle\PageBundle\Document, Integrated\Bundle\BlockBundle\Document, etc..

This only occurs if the embedded document is created at the same time as the storage object. If the embedded document already exists there is no error. I think this might have something to do with no id being present at the first time.

Note: this error is also reported when uploading an avatar.

Technical tasks

None

Deployment actions

None

Assignee

Unassigned

External issue ID

None

Client

None

Min. hours

None

Dev hour estimate

None

Fix versions

Configure