From 6df5d14a60349fc075d9847f25ce86a3eb0b366d Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Thu, 19 Dec 2024 15:55:23 +0530 Subject: [PATCH] Fixed an issue where properties dialog throwing an error for Materialized View. #8209 --- docs/en_US/release_notes_9_0.rst | 6 ++++-- .../browser/server_groups/servers/static/js/vacuum.ui.js | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/en_US/release_notes_9_0.rst b/docs/en_US/release_notes_9_0.rst index 78cff77f3..253c693c2 100644 --- a/docs/en_US/release_notes_9_0.rst +++ b/docs/en_US/release_notes_9_0.rst @@ -2,7 +2,7 @@ Version 9.0 *********** -Release date: 2025-01-09 +Release date: 2025-02-06 This release contains a number of bug fixes and new features since the release of pgAdmin 4 v8.14. @@ -30,5 +30,7 @@ Housekeeping Bug fixes ********* + | `Issue #6968 `_ - Fixed an issue where option key was not registering in PSQL tool. | `Issue #8142 `_ - Correct the documentation for the MFA configuration. - | `Issue #8208 `_ - Allow deleting the entry while creating/adding new label to enumeration type. \ No newline at end of file + | `Issue #8208 `_ - Allow deleting the entry while creating/adding new label to enumeration type. + | `Issue #8209 `_ - Fixed an issue where properties dialog throwing an error for Materialized View. \ No newline at end of file diff --git a/web/pgadmin/browser/server_groups/servers/static/js/vacuum.ui.js b/web/pgadmin/browser/server_groups/servers/static/js/vacuum.ui.js index 197a70a38..093353a1d 100644 --- a/web/pgadmin/browser/server_groups/servers/static/js/vacuum.ui.js +++ b/web/pgadmin/browser/server_groups/servers/static/js/vacuum.ui.js @@ -24,7 +24,7 @@ export class VacuumTableSchema extends BaseUISchema { id: 'value', name: 'value', label: gettext('Value'), type: 'text', deps: [[this.valueDep]], editable: function() { - return obj.top.sessData[this.valueDep]; + return obj?.top?.sessData?.[this.valueDep]; }, cell: (state)=>{ switch(state.column_type) {