"Multiple entries in SSL combo box" issue - Mailing list pgadmin-hackers

From Akshay Joshi
Subject "Multiple entries in SSL combo box" issue
Date
Msg-id CANxoLDcBPZ28wV5-UXBNmv9x1owY-srot-eJcnjCkc=jSJhyRg@mail.gmail.com
Whole thread Raw
Responses Re: "Multiple entries in SSL combo box" issue  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Hi Dave

During testing I have observed one issue with the entries in the SSL combo box. I have observed multiple entries in SSL combo box whenever an error occurs at the time of connection. 
For example: User tries to add the server which is not currently running, in this case user will get the error and "New Server Registration" dialog comes into focus, now check the entries in the SSL combo box. Attached is the screenshot. 

I have fixed the issue by clearing the content of the combo box before adding it again.Attached is the patch. 

Please review it and if looks OK then can you please commit it.

--
Akshay Joshi
Senior Software Engineer 
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
Phone: +91 20-3058-9522
Mobile: +91 976-788-8246

Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Added index in the pgAdmin3 documentation
Next
From: Vladimir Kokovic
Date:
Subject: sysSettings::Flush()