pgAdmin 4 commit: Resolve issue with properties refreshing. Fixes #1728

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Resolve issue with properties refreshing. Fixes #1728
Date: 2016-10-14 19:19:06
Message-ID: E1bv80Y-0004oB-Oa@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 default schema 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 updating object 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(dot)kumar(at)enterprisedb(dot)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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-10-14 19:19:17 Re: [pgAdmin4][Patch]: RM1728 - Properties are not refreshing after objects are edited
Previous Message Dave Page 2016-10-14 18:21:09 Re: pgAdmin IV: API test cases for Tables, Types and Views