diff --git a/docs/en_US/release_notes_4_27.rst b/docs/en_US/release_notes_4_27.rst index 0e008feb5..9efd250b0 100644 --- a/docs/en_US/release_notes_4_27.rst +++ b/docs/en_US/release_notes_4_27.rst @@ -38,4 +38,5 @@ Bug fixes | `Issue #5855 `_ - Ensure that the user should be able to change the start value of the existing sequence. | `Issue #5861 `_ - Ensure that the 'Remove Server' option should be visible in the context menu. | `Issue #5867 `_ - Fixed an issue where some properties are not being updated correctly for the shared server. +| `Issue #5882 `_ - Fixed invalid literal issue when fetching dependencies for Materialized View. | `Issue #5885 `_ - Fixed an issue where the user is unable to change the macro name. \ No newline at end of file diff --git a/web/pgadmin/browser/utils.py b/web/pgadmin/browser/utils.py index 1b9252c28..91a711917 100644 --- a/web/pgadmin/browser/utils.py +++ b/web/pgadmin/browser/utils.py @@ -638,7 +638,9 @@ class PGChildNodeView(NodeView): # if type is present in the types dictionary, but it's # value is None then it requires special handling. if type_str[0] == 'r': - if int(type_str[1]) > 0: + if (type_str[1].isdigit() and int(type_str[1]) > 0) or \ + (len(type_str) > 2 and type_str[2].isdigit() and + int(type_str[2]) > 0): type_name = 'column' else: type_name = 'table'