If an access request returns an error other than system.accessDenied, such as system.timeout, the error will be stored in Resgate memory and used to deny access for any subsequent request.
Solution
Only system.accessDenied should be considered a valid error response. All other error responses should be seen as temporary, and should not be persisted.
Recreating the issue
1) Start book-collection example service
2) Load example client
3) Stop example service
4) Edit a book entry and click OK
5) After a Timeout error, start service
6) Edit the same book entry and click OK
7) Error is still Timeout
Issue
If an access request returns an error other than
system.accessDenied
, such assystem.timeout
, the error will be stored in Resgate memory and used to deny access for any subsequent request.Solution
Only
system.accessDenied
should be considered a valid error response. All other error responses should be seen as temporary, and should not be persisted.Recreating the issue
1) Start book-collection example service 2) Load example client 3) Stop example service 4) Edit a book entry and click OK 5) After a Timeout error, start service 6) Edit the same book entry and click OK 7) Error is still Timeout
Log