public inbox for [email protected]  
help / color / mirror / Atom feed
PATCH: To fix the issue in Packages node (pgAdmin4)
2+ messages / 2 participants
[nested] [flat]

* PATCH: To fix the issue in Packages node (pgAdmin4)
@ 2016-09-19 07:20 Murtuza Zabuawala <[email protected]>
  2016-09-19 08:41 ` Re: PATCH: To fix the issue in Packages node (pgAdmin4) Dave Page <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Murtuza Zabuawala @ 2016-09-19 07:20 UTC (permalink / raw)
  To: pgadmin-hackers

Hi,

PFA minor patch to fix the issue in Packages node where after updating any
package user was getting 'Not Found' error.
RM#1625

*Issue:*
It was due to wrong parent was provided while sending the node to client.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Attachments:

  [application/octet-stream] RM_1625.patch (1.0K, 3-RM_1625.patch)
  download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/__init__.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/__init__.py
index 77482a9..dfbae1e 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/__init__.py
+++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/__init__.py
@@ -226,7 +226,7 @@ class PackageView(PGChildNodeView):
             return make_json_response(
                 data=self.blueprint.generate_browser_node(
                     row['oid'],
-                    sid,
+                    scid,
                     row['name'],
                     icon="icon-%s" % self.node_type
                 )
@@ -236,7 +236,7 @@ class PackageView(PGChildNodeView):
             res.append(
                 self.blueprint.generate_browser_node(
                     row['oid'],
-                    sid,
+                    scid,
                     row['name'],
                     icon="icon-%s" % self.node_type
                 ))


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: PATCH: To fix the issue in Packages node (pgAdmin4)
  2016-09-19 07:20 PATCH: To fix the issue in Packages node (pgAdmin4) Murtuza Zabuawala <[email protected]>
@ 2016-09-19 08:41 ` Dave Page <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Dave Page @ 2016-09-19 08:41 UTC (permalink / raw)
  To: Murtuza Zabuawala <[email protected]>; +Cc: pgadmin-hackers

Thanks, applied.

On Mon, Sep 19, 2016 at 8:20 AM, Murtuza Zabuawala
<[email protected]> wrote:
> Hi,
>
> PFA minor patch to fix the issue in Packages node where after updating any
> package user was getting 'Not Found' error.
> RM#1625
>
> Issue:
> It was due to wrong parent was provided while sending the node to client.
>
> --
> Regards,
> Murtuza Zabuawala
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>
> --
> Sent via pgadmin-hackers mailing list ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-09-19 08:41 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-19 07:20 PATCH: To fix the issue in Packages node (pgAdmin4) Murtuza Zabuawala <[email protected]>
2016-09-19 08:41 ` Dave Page <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox