pgAdmin 4 commit: Resolve issue with properties refreshing. Fixes #1728 - Mailing list pgadmin-hackers

From Dave Page
Subject pgAdmin 4 commit: Resolve issue with properties refreshing. Fixes #1728
Date
Msg-id E1bv80Y-0004oB-Oa@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Resolve issue with properties refreshing. Fixes #1728

1) If we create/update a node with non-default schema, It should return selected schema id in return response. but
defaultschema id is returned every time due to which it throws error in properties panel. 
Fixed in Domains, Collation, Types, Views & Table node.

2) Incorrect parent id of object node is returned from nodes method due to which wrong parent id is passed while
updatingobject and 
thus node didn't get refreshed.
Fixed in FTS Configuration, FTS Parser nodes.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=0df968f6798c4f14b7c27cdb0e3a22e43f01bac7
Author: Surinder Kumar <surinder.kumar@enterprisedb.com>

Modified Files
--------------
.../servers/databases/schemas/collations/__init__.py |  7 +++++++
.../servers/databases/schemas/domains/__init__.py    | 12 +++++++++---
.../databases/schemas/fts_configurations/__init__.py |  2 +-
.../servers/databases/schemas/fts_parser/__init__.py |  2 +-
.../templates/synonym/sql/9.5_plus/get_schema.sql    |  7 +++++++
.../servers/databases/schemas/tables/__init__.py     | 10 +++++++++-
.../templates/table/sql/9.1_plus/get_schema_oid.sql  |  4 +++-
.../templates/table/sql/9.5_plus/get_schema_oid.sql  |  4 +++-
.../servers/databases/schemas/types/__init__.py      | 17 ++++++++++++++++-
.../types/templates/type/sql/9.1_plus/get_oid.sql    |  2 +-
.../types/templates/type/sql/9.1_plus/get_scid.sql   |  6 ++++++
.../servers/databases/schemas/views/__init__.py      | 20 +++++++++++++++-----
web/pgadmin/browser/templates/browser/js/browser.js  |  8 ++++++--
13 files changed, 84 insertions(+), 17 deletions(-)


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: pgAdmin IV: API test cases for Tables, Types and Views
Next
From: Dave Page
Date:
Subject: Re: [pgAdmin4][Patch]: RM1728 - Properties are not refreshing after objects are edited