Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWkLP-00022S-5q for pgadmin-hackers@arkaria.postgresql.org; Mon, 08 Aug 2016 13:11:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bWkLO-0002Or-OL for pgadmin-hackers@arkaria.postgresql.org; Mon, 08 Aug 2016 13:11:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bWkLO-0002Ok-B0 for pgadmin-hackers@postgresql.org; Mon, 08 Aug 2016 13:11:50 +0000 Received: from mail-yw0-x236.google.com ([2607:f8b0:4002:c05::236]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bWkLL-0001dm-QM for pgadmin-hackers@postgresql.org; Mon, 08 Aug 2016 13:11:49 +0000 Received: by mail-yw0-x236.google.com with SMTP id j12so303972460ywb.2 for ; Mon, 08 Aug 2016 06:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=khhdqBTHkReziX8mYsR3S3BaGfv0pwzKPkda7epBfeA=; b=gAmdMvJlSCazEnVzCJYB7IvSznGs8VJSaVsoIoB8g6E9P4GaMyltxn2PUly3rBJ3/p GdXQRpUYKloTzXSkHBh8IR38ksX5J/99jni4MD6Rfp6d8FxJjoqA1cZ0SwRvQs2w7GQv LdQqjZCTOOJ+m6NxChr2O+6RrClrg2zkCMzbxtI9+M36SNGYLz/ob/Hbm1BrqaTBnJE8 EM0N8OSDAdVAOHQgF9SRxlbNjPeIJ6jSGXW8yiIXACSm0hYW2wiNQlcPrTdA4mThU012 JbX8+TMD7wRzPrdB2ilc4mn5O8TWGg00l8v07NsPO0PNS2Qya2vELolgDAMFsaWA0pOj TEaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=khhdqBTHkReziX8mYsR3S3BaGfv0pwzKPkda7epBfeA=; b=kysU5Py0Ul+RNvOGF7OIe0oqQ4BGppzvlgXeukLTo28B7yrG82AU3xmLDgN04K/G8f U3yZZ10z+ERTYQLqFtZVBD740uM2+078yNLCBbgm8lWlEVZlJufDOM050nWbkag5QBmZ U3BySDInCbrzyM29axB1pvVVD5HwBUp6kqa3nbbWe2bllpvHzBD5U+ciM/ZhpAY/gnle hPhDs7kkRRBwu5B4lm3jW0NxqW7xncB+ViKlDtcb9LvOGnxru0ltO87WL61CD1Qi+Z/0 ZcHD0G642EEV4pZv4DDBq2VkAQNGuLoEvHtBM4agHEm+vjF4A19ebtQE+REVkOzyuWv4 jihg== X-Gm-Message-State: AEkoousrtN3Z2QWQhRZ0gRMP9HuOCIqIyUmsHvVwQ0uqeBxHoUsS+4PYYmE7SatGKF7MAJTurpIRSU4l2uCA/4W6 X-Received: by 10.13.236.150 with SMTP id v144mr74640487ywe.9.1470661906108; Mon, 08 Aug 2016 06:11:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.163.106 with HTTP; Mon, 8 Aug 2016 06:11:44 -0700 (PDT) From: Neel Patel Date: Mon, 8 Aug 2016 18:41:44 +0530 Message-ID: Subject: [pgAdmin4][runtime][patch]: Runtime not working in all platform To: pgadmin-hackers Content-Type: multipart/mixed; boundary=94eb2c082982802c5105398f28df X-Pg-Spam-Score: -1.3 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --94eb2c082982802c5105398f28df Content-Type: multipart/alternative; boundary=94eb2c082982802c4c05398f28dd --94eb2c082982802c4c05398f28dd Content-Type: text/plain; charset=UTF-8 Hi, Please find attached patch file to fix the below issue. *Issue:-* Runtime was not working in all platform due to syntax error in javascript. This issue was introduced due to below commit. Prevent the user attempting to run external commands if the bin path is not configured. Fixes #1177 f78024808e80fef67de1aef5c97d1756c6771c0e It is working in browser but Qt's web engine is not able to handle the error and goes into infinite loop of paint event which may crash the pgAdmin4 application. Can you please review and commit this patch ? Thanks, Neel Patel --94eb2c082982802c4c05398f28dd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Please find attached patch file to = fix the below issue.

Issue:-
Runt= ime was not working in all platform due to syntax error in javascript.
This issue was introduced due to below commit.

Prevent the= user attempting to run external commands if the bin path is not configured= . Fixes #1177

f78024808= e80fef67de1aef5c97d1756c6771c0e


It is w= orking in browser but Qt's web engine is not able to handle the error a= nd goes into infinite loop of paint event which may crash the pgAdmin4 appl= ication.

Can you please review and commit this pat= ch ?

Thanks,
Neel Patel
--94eb2c082982802c4c05398f28dd-- --94eb2c082982802c5105398f28df Content-Type: application/octet-stream; name="runtime_issue.patch" Content-Disposition: attachment; filename="runtime_issue.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_irm1wjvg0 ZGlmZiAtLWdpdCBhL3dlYi9wZ2FkbWluL2Jyb3dzZXIvdGVtcGxhdGVzL2Jy b3dzZXIvanMvYnJvd3Nlci5qcyBiL3dlYi9wZ2FkbWluL2Jyb3dzZXIvdGVt cGxhdGVzL2Jyb3dzZXIvanMvYnJvd3Nlci5qcwppbmRleCA5NTUyOGIwLi44 OTEwMjQwIDEwMDY0NAotLS0gYS93ZWIvcGdhZG1pbi9icm93c2VyL3RlbXBs YXRlcy9icm93c2VyL2pzL2Jyb3dzZXIuanMKKysrIGIvd2ViL3BnYWRtaW4v YnJvd3Nlci90ZW1wbGF0ZXMvYnJvd3Nlci9qcy9icm93c2VyLmpzCkBAIC02 OTQsOCArNjk0LDggQEAgZnVuY3Rpb24ocmVxdWlyZSwgJCwgXywgUywgQm9v dHN0cmFwLCBwZ0FkbWluLCBhbGVydGlmeSwgQ29kZU1pcnJvcikgewogICAg ICAgfQogICAgIH0sCiAKLSAgICBnZXRfcHJlZmVyZW5jZShtb2R1bGUsIHBy ZWZlcmVuY2VfbmFtZSkgewotICAgICAgcHJlZmVyZW5jZSA9IG51bGw7Cisg ICAgZ2V0X3ByZWZlcmVuY2U6IGZ1bmN0aW9uIChtb2R1bGUsIHByZWZlcmVu Y2VfbmFtZSkgeworICAgICAgdmFyIHByZWZlcmVuY2UgPSBudWxsOwogICAg ICAgJC5hamF4KHsKICAgICAgICAgYXN5bmM6IGZhbHNlLAogICAgICAgICB1 cmw6ICJ7eyB1cmxfZm9yKCdwcmVmZXJlbmNlcy5wcmVmZXJlbmNlcycpIH19 IiArIi8iKyBtb2R1bGUgKyIvIisgcHJlZmVyZW5jZV9uYW1lLAo= --94eb2c082982802c5105398f28df Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers --94eb2c082982802c5105398f28df--