Thread: [pgAdmin4][Patch]: RM_ 2582 - Backup : Fix compression value

[pgAdmin4][Patch]: RM_ 2582 - Backup : Fix compression value

From
Surinder Kumar
Date:
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
Attachment

Re: [pgAdmin4][Patch]: RM_ 2582 - Backup : Fix compression value

From
Akshay Joshi
Date:
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