summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorFabien Meghazi <fme@odoo.com>2017-07-26 16:44:10 +0200
committerFabien Meghazi <fme@odoo.com>2017-07-31 10:03:45 +0200
commitb244f311513da2513492b6b61f31e8226180647d (patch)
tree73507e7498f3226ee884db73fbd22da77b87c3dd /addons/web/static/src/js/views/basic/basic_model.js
parentb1e79e85bd094e201846daf308cb8aa99699ffbe (diff)
[FIX] server: don't crash in case we can't check if a database exists
In case Postresgl access rights prevents the pguser to access `pg_database`, the server should not crash when trying to create the database because the pguser does not have the right to check if the database exists and he won't be able to create a new database anyway. However the database might exists and in such a case the flow should continue. This patch allows the flow to be resumed in such a case, and in case the database did not actually exists, a warning will tell the user that it was not possible to check if the db existed and the registry for this database will fail to be loaded afterward.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions