No errors are displayed when creating documents through the import tab and there is a validation error on a property, furthermore, the creation dialog is closed and a toaster saying Created document is displayed.
The server error responds with a bad request error, it should be handled and the user should be notified about this error.
Steps To Reproduce:
- Inside a workspace, click on plus sign to create documents
- Click on Import tab
- Upload a file
- Click on Add properties button
- Select File as type
- Enter 2000+ characters description
- Click on create
- The dialog is closed and a toast with a successful message is displayed
- The dialog is not closed and the user is warned about the server error