ub-pub: add ERR_SET_REFERENCE_ERROR locale key for server error / handled reference error for Oracle
This MR:
- Fixes issues, when Oracle renders "500 (Server Error)" for reference errors on INSERT and UPDATE operations (makes no sense and for other vendors the very same errors are handled)
- ERR_REFERENCE_ERROR error text is constructed in a way, that it always assume that reference error was caused by the "DELETE" operation, which is not the case, sometimes it is an error or INSERT or UPDATE and for UB with MS SQL or POSTGRES connections in such scenarios user see error text, which does not make sense. So, this MR also adds
ERR_SET_REFERENCE_ERROR
with text specific to INSERT / UPDATE operations.
Edited by Andrii Bezuglyi