diff --git a/docs/en_US/release_notes_6_10.rst b/docs/en_US/release_notes_6_10.rst index 875d16c42..6c742b12e 100644 --- a/docs/en_US/release_notes_6_10.rst +++ b/docs/en_US/release_notes_6_10.rst @@ -35,3 +35,4 @@ Bug fixes | `Issue #7402 `_ - Ensure that Dashboard graphs should be refreshed on changing the node from the browser tree. | `Issue #7403 `_ - Fixed an issue where comments on domain constraints were not visible when selecting a domain node. | `Issue #7405 `_ - Ensure that null values are accepted for the numeric columns in react-data-grid. + | `Issue #7408 `_ - Fixed an issue when a table has a column with an array type with length or precision, the column type is not selected while editing the table. diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/columns/utils.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/columns/utils.py index 4e0ef48d6..e4af1bca5 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/columns/utils.py +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/columns/utils.py @@ -184,7 +184,7 @@ def column_formatter(conn, tid, clid, data, edit_types_list=None, edit_types_list = [row['typname'] for row in rset['rows']] # We will need present type in edit mode - edit_types_list.append(data['cltype']) + edit_types_list.append(data['typname']) data['edit_types'] = sorted(edit_types_list) data['cltype'] = DataTypeReader.parse_type_name(data['cltype']) diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js index 9947e06a4..332107503 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js @@ -1,5 +1,4 @@ ///////////////////////////////////////////////////////////// -//234567890 // pgAdmin 4 - PostgreSQL Tools // // Copyright (C) 2013 - 2022, The pgAdmin Development Team