Fixed an issue where properties not visible for FTS Parsers, FTS Templates, MViews and Rules in Catalog objects. #6127

This commit is contained in:
Akshay Joshi
2023-05-18 16:21:15 +05:30
parent 4baae7512b
commit e2b27da2ef
6 changed files with 7 additions and 6 deletions

View File

@@ -34,6 +34,7 @@ Bug fixes
| `Issue #6003 <https://github.com/pgadmin-org/pgadmin4/issues/6003>`_ - Indicate the user if all the server's children nodes are hidden from the preferences setting.
| `Issue #6026 <https://github.com/pgadmin-org/pgadmin4/issues/6026>`_ - Tools menu should be toggled for "pause replay of wal" and "resume replay of wal".
| `Issue #6080 <https://github.com/pgadmin-org/pgadmin4/issues/6080>`_ - pgAdmin icon not showing on taskbar on Windows 10.
| `Issue #6127 <https://github.com/pgadmin-org/pgadmin4/issues/6127>`_ - Fixed an issue where properties were not visible for FTS Parsers, FTS Templates, MViews, and Rules in Catalog objects.
| `Issue #6147 <https://github.com/pgadmin-org/pgadmin4/issues/6147>`_ - Heartbeat is getting logged, though no server is connected in pgAdmin.
| `Issue #6204 <https://github.com/pgadmin-org/pgadmin4/issues/6204>`_ - Ensure that name can't be empty in edit mode for Primary Key and Index.
| `Issue #6221 <https://github.com/pgadmin-org/pgadmin4/issues/6221>`_ - Fix circular reference error for the multirange data types in the query tool.

View File

@@ -91,7 +91,7 @@ define('pgadmin.node.fts_parser', [
})
},
{
schema: treeNodeInfo.schema._id,
schema: itemNodeData._id,
}
);
}

View File

@@ -80,7 +80,7 @@ define('pgadmin.node.fts_template', [
schemaList:()=>getNodeListById(pgBrowser.Nodes['schema'], treeNodeInfo, itemNodeData),
},
{
schema: treeNodeInfo.schema._id,
schema: itemNodeData._id,
}
);
}

View File

@@ -52,7 +52,7 @@ define('pgadmin.node.package', [
name: 'create_package_on_coll', node: 'coll-package', module: this,
applies: ['object', 'context'], callback: 'show_obj_properties',
category: 'create', priority: 4, label: gettext('Package...'),
data: {action: 'create', check: true,
data: {action: 'create', check: true,
data_disabled: gettext('This option is only available on EPAS servers.')},
enable: 'canCreate',
},{
@@ -97,7 +97,7 @@ define('pgadmin.node.package', [
}),
node_info: treeNodeInfo
}, {
schema: treeNodeInfo.schema.label
schema: ('schema' in treeNodeInfo)? treeNodeInfo.schema.label : ''
}
);
}

View File

@@ -53,7 +53,7 @@ export default class RuleSchema extends BaseUISchema {
id: 'schema', label:'',
type: 'text', visible: false, disabled: (state) => {
// It is used while generating sql
state.schema = obj.fieldOptions.nodeInfo.schema.label;
state.schema = ('schema' in obj.fieldOptions.nodeInfo) ? obj.fieldOptions.nodeInfo.schema.label : '';
},
},
{

View File

@@ -144,7 +144,7 @@ define('pgadmin.node.mview', [
},
{
owner: pgBrowser.serverInfo[treeNodeInfo.server._id].user.name,
schema: treeNodeInfo.schema.label
schema: ('schema' in treeNodeInfo)? treeNodeInfo.schema.label : ''
}
);
},