mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed error occurring while dumping the servers from CLI. #6137
This commit is contained in:
parent
4ede084b8f
commit
f1e7782ca2
@ -34,3 +34,4 @@ Bug fixes
|
|||||||
| `Issue #5820 <https://github.com/pgadmin-org/pgadmin4/issues/5820>`_ - Fixed an issue where collation was set to none if we remove it while creating partitioned table.
|
| `Issue #5820 <https://github.com/pgadmin-org/pgadmin4/issues/5820>`_ - Fixed an issue where collation was set to none if we remove it while creating partitioned table.
|
||||||
| `Issue #6075 <https://github.com/pgadmin-org/pgadmin4/issues/6075>`_ - Ensure that the save button is enabled when registering a new server fails due to an API error.
|
| `Issue #6075 <https://github.com/pgadmin-org/pgadmin4/issues/6075>`_ - Ensure that the save button is enabled when registering a new server fails due to an API error.
|
||||||
| `Issue #6130 <https://github.com/pgadmin-org/pgadmin4/issues/6130>`_ - Ensure to quote the primary key value if needed while deleting rows from the table.
|
| `Issue #6130 <https://github.com/pgadmin-org/pgadmin4/issues/6130>`_ - Ensure to quote the primary key value if needed while deleting rows from the table.
|
||||||
|
| `Issue #6137 <https://github.com/pgadmin-org/pgadmin4/issues/6137>`_ - Fixed error occurring while dumping the servers from CLI.
|
||||||
|
@ -493,8 +493,10 @@ def dump_database_servers(output_file, selected_servers,
|
|||||||
object_dict["Servers"] = server_dict
|
object_dict["Servers"] = server_dict
|
||||||
|
|
||||||
try:
|
try:
|
||||||
file_path = filename_with_file_manager_path(
|
if from_setup:
|
||||||
unquote(output_file), skip_permission_check=from_setup)
|
file_path = unquote(output_file)
|
||||||
|
else:
|
||||||
|
file_path = filename_with_file_manager_path(unquote(output_file))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return _handle_error(str(e), from_setup)
|
return _handle_error(str(e), from_setup)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user