You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If no file is provided in the multipart request to create entity and content, the creation of the self-link fails because the Id property is null.
The Id property is null because savedEntity is not yet persisted with repository.save()
When providing a file, savedEntity is persisted during setContent()
Describe the bug
If no file is provided in the multipart request to create entity and content, the creation of the self-link fails because the Id property is null.
savedEntity
is not yet persisted withrepository.save()
savedEntity
is persisted duringsetContent()
To Reproduce
Results in:
IllegalArgumentException: Id must be assignable to Serializable: null
Expected behavior
Entity gets created without the content property set
The text was updated successfully, but these errors were encountered: