public inbox for [email protected]
help / color / mirror / Atom feedFrom: Khushboo Vashi <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin4][Patch] - RM 5383 - Error related to OID displayed if Click on properties of synonym and Click on refresh button
Date: Tue, 14 Apr 2020 11:29:33 +0530
Message-ID: <CAFOhELdsujC0YfwuKSyD1LGuX=cEescnj_fikRS46xheo8V+mw@mail.gmail.com> (raw)
Hi,
Please find the attached small patch to fix the RM #5383 - Error related to
OID displayed if Click on properties of synonym and Click on refresh button.
Thanks,
Khushboo
Attachments:
[application/octet-stream] RM_5383.patch (781B, 3-RM_5383.patch)
download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/synonyms/__init__.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/synonyms/__init__.py
index b50f50162..13623b737 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/schemas/synonyms/__init__.py
+++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/synonyms/__init__.py
@@ -311,7 +311,7 @@ class SynonymView(PGChildNodeView, SchemaDiffObjectCompare):
for row in rset['rows']:
return make_json_response(
data=self.blueprint.generate_browser_node(
- row['name'],
+ row['oid'],
scid,
row['name'],
icon="icon-%s" % self.node_type
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: [pgAdmin4][Patch] - RM 5383 - Error related to OID displayed if Click on properties of synonym and Click on refresh button
In-Reply-To: <CAFOhELdsujC0YfwuKSyD1LGuX=cEescnj_fikRS46xheo8V+mw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox