mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where adding/updating records fails if the table name contains percent sign. Fixes #4438.
This commit is contained in:
committed by
Akshay Joshi
parent
5e40f9904d
commit
8cf7c41ad9
@@ -19,6 +19,7 @@ Housekeeping
|
|||||||
Bug fixes
|
Bug fixes
|
||||||
*********
|
*********
|
||||||
|
|
||||||
|
| `Issue #4438 <https://redmine.postgresql.org/issues/4438>`_ - Fixed an issue where adding/updating records fails if the table name contains percent sign.
|
||||||
| `Issue #4959 <https://redmine.postgresql.org/issues/4959>`_ - Fixed an issue where the properties tab for collection nodes is unresponsive after switching the tabs.
|
| `Issue #4959 <https://redmine.postgresql.org/issues/4959>`_ - Fixed an issue where the properties tab for collection nodes is unresponsive after switching the tabs.
|
||||||
| `Issue #5073 <https://redmine.postgresql.org/issues/5073>`_ - Fixed an issue where the Save button is enabled for functions/procedures by default when open the properties dialog.
|
| `Issue #5073 <https://redmine.postgresql.org/issues/5073>`_ - Fixed an issue where the Save button is enabled for functions/procedures by default when open the properties dialog.
|
||||||
| `Issue #5119 <https://redmine.postgresql.org/issues/5119>`_ - Fixed an issue where hanging symlinks in a directory cause select file dialog to break.
|
| `Issue #5119 <https://redmine.postgresql.org/issues/5119>`_ - Fixed an issue where hanging symlinks in a directory cause select file dialog to break.
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ def save_changed_data(changed_data, columns_info, conn, command_obj,
|
|||||||
operations = ('added', 'updated', 'deleted')
|
operations = ('added', 'updated', 'deleted')
|
||||||
list_of_sql = {}
|
list_of_sql = {}
|
||||||
_rowid = None
|
_rowid = None
|
||||||
|
# Replace '%' with '%%' as python use '%' as string formatting.
|
||||||
|
command_obj.object_name = command_obj.object_name.replace('%', '%%')
|
||||||
|
|
||||||
pgadmin_alias = {
|
pgadmin_alias = {
|
||||||
col_name: col_info['pgadmin_alias']
|
col_name: col_info['pgadmin_alias']
|
||||||
|
|||||||
Reference in New Issue
Block a user