-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Dataviz
-
Release Notes Summary:File uploaded in creation form doesn't disappear in case of validation error.
-
Tags:
-
Backlog priority:700
-
Sprint:nxplatform #104
-
Story Points:5
If you try to create a document through the UI where a file is attached/uploaded and an error occurs (server-side), the batch is dropped (meaning the file is dropped) but the UI still shows file as uploaded.
Steps to Reproduce:
- install the attached Marketplace package in a 2021 Nuxeo instance (nuxeoctl mp-install WEBUI-XXXX-package-1.0.0.zip)
- log in using a Chrome browser
- create a document of type WEBUI-XXXX:
- set field Title to WEB-XXXX-1
- set field Ent Description to "test ", make sure it has a trailing whitespace
- add/upload a file
- click the CREATE button
- Notice that the uploaded file still shows in the UI
- Correct the error by removing the trailing whitespace
- Click the CREATE button again
Expected result: Document is created with all populated fields from creation form (including the blob)
Actual result: The document is created but without main blob
Note: Please change to NXP if the issue is for the platform team.
- is related to
-
WEBUI-1223 'nuxeo-input' element's pattern validation is not enforced in Chrome
- Resolved