I’m submitting a…
[ ] Regression (a behavior that topped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Documentation issue or request
Current behavior
When validation exceptions occur, the message is not always displayed. It will return the error message one time, and Failed to make request another (message/details in response are empty).
Expected behavior
Message is always returned.
Minimal reproduction of the problem
Easy way to see this is to add a number field to schema, and set Range to be Min=1 and Max=0 (or 1, but that is another question on why they can not be equal).
Click save several times, the message will go back and forth from actual error to failed to make request.
Environment
- [x] Self hosted with version docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [x] Cloud version
Browser:
- [x] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [ ] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge
Others:
I believe this is a clustering issue. I can recreate this in our environment as well, however, I can not recreate it locally, and also can not recreate it when running on only 1 node. I think the issue happens from calling Func message() potentially when the grain was picked up by a different node? We were able to prevent the error by not calling message() (used “test message” instead), so it seems that is the culprit.