I’m submitting a…
[ ] Regression (a behavior that stopped working in a new release)
[ X ] Bug report
[ ] Performance issue
[ ] Documentation issue or request
Current behavior
When I create schema with required property I can bypass the requirement by posting empty data and no error message is shown. The content is added and the property is empty.
Expected behavior
I expect bad request response with proper error message.
Minimal reproduction of the problem
curl ‘https://cloud.squidex.io/api/content/kbl-test/emails?publish=true’ -H ‘User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0’ -H ‘Accept: application/json, text/plain, /’ -H ‘Accept-Language: *’ -H ‘Authorization: Bearer eyJh…tQ’ -H ‘Pragma: no-cache’ -H ‘Content-Type: application/json’ -H ‘Connection: keep-alive’ --data ‘{“email”:{“iv”:""},“dateAdded”:{“iv”:“2019-02-09T19:08:42Z”}}’
Environment
- [ X ] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [ X ] Cloud version
Browser: any browser
Others:
none