I am able to reproduce the issue with the steps mentioned.
Please find attached patch file for the fix.
I have tested on web and desktop mode. Do review it and let us know for comments.
Thanks,
Neel Patel
On Tue, Jan 3, 2017 at 3:18 PM, Dave Page <dpage@pgadmin.org> wrote:
Hi On Fri, Dec 23, 2016 at 6:17 AM, Neel Patel <neel.patel@enterprisedb.com> wrote: > Hi Dave, > > I have tried to reproduce the issue with both python 2 & python3 but no luck > and from the logs, it looks like issue with global name 'transid' not > defined so i don't think we have changed anything in that logic but yes we > need to fix this. > > Can you please let me know the steps to reproduce so that i can fix this > issue ?
1) Apply patch and run pgAdmin
2) Open pgAdmin (I'm doing so in Chrome)
3) Browse to a database, and open the query tool
4) Hit the File Open button.
Note: I just found I couldn't reproduce this with SERVER_MODE = True, only with SERVER_MODE = False.