Thread: [pgAdmin4][RM3903] Query Tool Initialization Error

[pgAdmin4][RM3903] Query Tool Initialization Error

From
Aditya Toshniwal
Date:
Hi Hackers,

Attached is the patch to fix "Query Tool Initialization Error" which occurs on opening query tool for some users.
The problem was, request data was sent from client but was not read by back end service. In flask, if you receive POST data in a request you must read it before returning a response.
Also removed a dead code, which was not referred/used anywhere.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"
Attachment

Re: [pgAdmin4][RM3903] Query Tool Initialization Error

From
Akshay Joshi
Date:
Thanks patch applied.

On Mon, Jan 28, 2019 at 2:32 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

Attached is the patch to fix "Query Tool Initialization Error" which occurs on opening query tool for some users.
The problem was, request data was sent from client but was not read by back end service. In flask, if you receive POST data in a request you must read it before returning a response.
Also removed a dead code, which was not referred/used anywhere.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"


--
Akshay Joshi
Sr. Software Architect


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