From b742487dc30f7288c07120169a8a9e3725a8a1e2 Mon Sep 17 00:00:00 2001 From: Pravesh Sharma Date: Wed, 27 Mar 2024 11:41:01 +0530 Subject: [PATCH] Fixed an issue where table properties were not updating from properties dialog. #7210 --- .../server_groups/servers/databases/schemas/tables/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/utils.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/utils.py index 05e981a21..718e6403a 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/utils.py +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/utils.py @@ -2054,7 +2054,8 @@ class BaseTableView(PGChildNodeView, BasePartitionTable, VacuumSettings): _, lock_table_result = self.conn.execute_dict(sql) for row in lock_table_result['rows']: - if row['relation'].strip('\"') == data['name']: + if row['relation'] and \ + row['relation'].strip('\"') == data['name']: sql = render_template( "/".join([self.table_template_path,