Re: Fix for issue RM1313 [pgadmin4]

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Harshal Dhumal <harshal(dot)dhumal(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Fix for issue RM1313 [pgadmin4]
Date: 2016-06-14 17:10:59
Message-ID: CA+OCxox90EW_CKh5axT5Vxc6Ai3wx83UhNOce1n_JV0Ukprh_g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Tue, Jun 14, 2016 at 5:28 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
> Thanks - committed with some minor changes:
>
> - Move the password field under the user name.
>
> - Remove the password requirement. The user might be using "trust" auth.
>
> - Adjust the vertical positioning of the checkbox.

Hmm, this is actually broken:

1) I've left the password check in the Python code.

2) It seems like it saves the server info on the first connection
attempt. That means that if the connection fails, but the password is
not the issue (mis-typed address or username perhaps), correcting that
info doesn't allow the connection to proceed.

Because of 2, I haven't fixed 1 (you'll probably need to move it
around anyway). Essentially, we need to support password-less
connections, and if the connection fails, the user should be able to
immediately try again having changed any of the connection options.

Please take a look - and while you're in that code, please take a look
at #1363. It's probably a very simple fix.

Thanks.

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

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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Ashesh Vashi 2016-06-15 05:11:05 Re: pgAdmin 4 commit: Fix query tool horizontal scrolling of results. Fixes
Previous Message Dave Page 2016-06-14 16:28:54 Re: Fix for issue RM1313 [pgadmin4]