-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: 1.25.0
-
Component/s: Document Validation, Documents
-
None
-
Environment:Mac, Windows
-
2
Problem Description
Steps to Reproduce
1. Click to Insert New document to the collection
2. Switch to list view and go back to the {} JSON view
--> _id value is autogenerated
3. Update $oid" value to incorrect, for e.g. to:
- "" (empty)
- " " (space)
- "1236"
- too short
- too long
- etc.
4. Click Insert button
Expected Results
Validation acts, "Insert not permitted while document contains errors." error message appears, Insert button is disabled
Actual Results
"Inserting Document" message appears and is constantly displayed, form is not closing, data is not inserted, it's not possible to switch to list view.
Additional Notes
If in list view add new field of int type, enter correct number, switch to json view and update its value to incorrect (add letters for e.g.) then it works as expected: "Insert not permitted while document contains errors." error message appears.