-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: CRUD
-
Labels:None
-
Not Needed
- For the collection that has `Name` field open validation tab
- On the validation tab set validation action `Error` and validation level `Moderate`.
- Set the following validation body:
{ $jsonSchema: { bsonType: 'object', required: [ 'name' ], properties: { name: { bsonType: 'string', description: 'must be a string and is required' } } } }
- Go to the documents tab and insert the following document using JSON mode: `{ "name": "444" }`
- Use `{"name": "444"}` filter to find this document in documents list
- Try to modify this document in JSON mode and replace `name` field name with `test` field name
- Try to save changes
Expected result: the validation error should be shown
Actual result: the documents list is blank