[pgadmin4][Patch]: Fixed minor issue in auto discover server when entry is blank in the config file

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgadmin4][Patch]: Fixed minor issue in auto discover server when entry is blank in the config file
Date: 2018-06-21 07:32:58
Message-ID: CANxoLDcyq+oLtrU_yoFjHrtsU0YQBqDZ5fB0bO7V8FCrCrKO9w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

I have found one minor issue in auto discovery logic. *getint* function of
ConfigParser throws exception if the value of the parameter is blank in the
config file. Example: *Port=*

Because of that exception pgAdmin4 unable to discover all the valid
servers. Attached is the patch to fix that. Please review it.

--
*Akshay Joshi*

*Sr. Software Architect *

*Phone: +91 20-3058-9517Mobile: +91 976-788-8246*

Attachment Content-Type Size
Auto_discover_exception.patch application/octet-stream 1.0 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2018-06-21 11:10:24 [pgadmin4][Patch]: RM #3423 Drop option is not available for the procedure
Previous Message Akshay Joshi 2018-06-21 05:27:18 Re: [pgadmin4][Patch]: Feature #3273 Add ability to sort in the Select File window when opening a saved query