Re: [pgAdmin4][Patch]: RM_ 2582 - Backup : Fix compression value - Mailing list pgadmin-hackers

From Akshay Joshi
Subject Re: [pgAdmin4][Patch]: RM_ 2582 - Backup : Fix compression value
Date
Msg-id CANxoLDcaxqgbNZ37kz15=9jpP7_xqJwe7f_nNuHwA_4U6cL7wg@mail.gmail.com
Whole thread Raw
In response to [pgAdmin4][Patch]: RM_ 2582 - Backup : Fix compression value  (Surinder Kumar <surinder.kumar@enterprisedb.com>)
List pgadmin-hackers
Thanks patch applied. I have adding server side validation too. 

On Wed, Aug 16, 2017 at 6:11 PM, Surinder Kumar <surinder.kumar@enterprisedb.com> wrote:
Hi

Issue:
In Backup, compression field can only accept values between 0 to 9. But if the field is clicked, an empty value is set into the model, So, added a check to remove the model attribute if the field is an empty string before data is sent to the server.

Please find attached patch.

Thanks,
Surinder



--
Akshay Joshi
Principal Software Engineer 


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

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Unset compression ratio if it is an empty string inB
Next
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Fixed alertify notification messages wherecheckmark