Fixed an issue where incorrect column name listed in the properties of Index. Fixes #6557

This commit is contained in:
Pradip Parkale 2021-06-27 19:00:16 +05:30 committed by Akshay Joshi
parent 25ada15546
commit e095d382b3
3 changed files with 3 additions and 12 deletions

View File

@ -27,3 +27,4 @@ Bug fixes
| `Issue #6541 <https://redmine.postgresql.org/issues/6541>`_ - Ensure that setting 'Open in new browser tab' should be visible, it should not be based on the value of 'ENABLE_PSQL'.
| `Issue #6547 <https://redmine.postgresql.org/issues/6547>`_ - Fixed copy/paste issues for PSQL tool terminal.
| `Issue #6555 <https://redmine.postgresql.org/issues/6555>`_ - Fixed Czech translation string for 'Login' keyword.
| `Issue #6557 <https://redmine.postgresql.org/issues/6557>`_ - Fixed an issue where incorrect column name listed in the properties of Index.

View File

@ -130,8 +130,8 @@ def get_column_details(conn, idx, data, mode='properties', template_path=None):
# We need same data as string to display in properties window
# If multiple column then separate it by colon
cols_str = row['attdef']
cols_str += _get_column_property_display_data(row, cols_str, data)
cols_str = ''
cols_str += _get_column_property_display_data(row, row['attdef'], data)
cols.append(cols_str)

View File

@ -117,15 +117,5 @@ class DatagridUpdateConnectionTestCase(BaseTestGenerator):
def tearDown(self):
"""This function disconnect database."""
# Delete role of created
# if self.is_create_role:
# connection = utils.get_db_connection(self.server['db'],
# self.server['username'],
# self.server['db_password'],
# self.server['host'],
# self.server['port'],
# self.server['sslmode'])
# roles_utils.delete_role(connection, self.role_name)
database_utils.disconnect_database(self, self.sid,
self.did)