mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-15 09:53:50 -06:00
Fixed an issue where the blank string is stored instead of NULL in the server table of SQLite database. Fixes #6915
This commit is contained in:
parent
c13b1b60e3
commit
b8072bd630
@ -39,3 +39,4 @@ Bug fixes
|
||||
| `Issue #6905 <https://redmine.postgresql.org/issues/6905>`_ - Fixed an issue where the users are unable to load the databases behind an HTTP reverse proxy.
|
||||
| `Issue #6908 <https://redmine.postgresql.org/issues/6908>`_ - Fixed an issue where each click to refresh the collection node, the number of objects decreasing by tens or more.
|
||||
| `Issue #6912 <https://redmine.postgresql.org/issues/6912>`_ - Fixed browser tree sort order regression issue.
|
||||
| `Issue #6915 <https://redmine.postgresql.org/issues/6915>`_ - Fixed an issue where the blank string is stored instead of NULL in the server table of SQLite database.
|
||||
|
@ -811,6 +811,9 @@ class ServerNode(PGChildNodeView):
|
||||
@staticmethod
|
||||
def _update_server_details(server, sharedserver,
|
||||
config_param_map, arg, value):
|
||||
if value == '':
|
||||
value = None
|
||||
|
||||
if server.shared and server.user_id != current_user.id:
|
||||
setattr(sharedserver, config_param_map[arg], value)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user