Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axXNr-0007iT-Qw for pgadmin-hackers@arkaria.postgresql.org; Tue, 03 May 2016 10:16: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 1axXNr-0008Mh-Dh for pgadmin-hackers@arkaria.postgresql.org; Tue, 03 May 2016 10:16:51 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1axXNq-0008Ma-MO for pgadmin-hackers@postgresql.org; Tue, 03 May 2016 10:16:50 +0000 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1axXNn-0006mu-Gl for pgadmin-hackers@postgresql.org; Tue, 03 May 2016 10:16:49 +0000 Received: by mail-lf0-x231.google.com with SMTP id u64so16097351lff.3 for ; Tue, 03 May 2016 03:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to; bh=UniBEsSpxIQtQN6WLOHbXOYTVEJ+PUOxx3J3CjW9lwM=; b=S8q2afeAwUWCMhIhCEAX3KdjseecUx1pPDkJBWeP1bXJrEb53CeHC6QyqileKjVxO1 4rcbC1f+zW1HbYjOUiJOJqh7dFlfz2sgaw+UO9pafB8O89Km2ejt/CD3qGjDOLylB0si 3o1NS/FExgDareIOMFw+A+IDBRpD8eRAKhe7tHJtu2sd126yxERFnQu3xq5kPOnYob1u Trb/SsRKWfXw1yYvEnaFsG93u84TYPrz/6VkpNrRcF2cA1ukB5SIZ7YYZA83bsfSJj8u UkLsH7PNowr1TH/PKQIQDnlNfwD1SHWBdcxDJHhIyTxP6hj/+4RrVbouck/yV6dYVQHt eN0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=UniBEsSpxIQtQN6WLOHbXOYTVEJ+PUOxx3J3CjW9lwM=; b=Y/++/TUyoEmHFzy8IJzsYKZHekG/VHh0LIcgC6fFsunwtLsU2qa2wyGxYDYQyMtXfo eBQsrz63MnTdBB8X3FP4KjNdk5xtIwotTZq1upNDO4sPpPxJZvv/TP6NJKoH0PyxYlXO DhzDL0qx7x0z021putXbnhx6AcN0/87EF6LNUzgJKBsNuw+jNMrVnLLvA/Gz6ILAoN0Q b1+tSE9Hv+g0WiLzOAVb3R41h4h9wySMb0ZH1oY+0Rl8Ca3uqu3OnBeRNDpZU1a92S0s Ylclt409UxqfhAKhstN8KzRSGT0XzyfNyP1lOyz5Ekrf3jBJp6jugcCTPjFr1gcCeiu3 3Ysw== X-Gm-Message-State: AOPr4FW3bKvH4YE4Fb8kWuebK5209YDIeeuFw583qfrcgQaXCEn5ten6dW7QEFAR5gvtLuBG8CFVV/1dDhSSAJ12 MIME-Version: 1.0 X-Received: by 10.25.163.15 with SMTP id m15mr856902lfe.93.1462270605055; Tue, 03 May 2016 03:16:45 -0700 (PDT) Received: by 10.25.144.81 with HTTP; Tue, 3 May 2016 03:16:44 -0700 (PDT) Date: Tue, 3 May 2016 15:46:44 +0530 Message-ID: Subject: [pgAdmin4][Patch]: SQL Tab Validation From: Khushboo Vashi To: pgadmin-hackers Content-Type: multipart/mixed; boundary=001a11410804fb0c980531ed67f1 X-Pg-Spam-Score: -2.6 (--) 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 --001a11410804fb0c980531ed67f1 Content-Type: multipart/alternative; boundary=001a11410804fb0c920531ed67ef --001a11410804fb0c920531ed67ef Content-Type: text/plain; charset=UTF-8 Hi, Do not send the request to the server if a model contains any error on selection of the SQL Tab, while creating/updating any Node. Please find the attached patch for the same. Thanks, Khushboo --001a11410804fb0c920531ed67ef Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Do not send the request to the = server if a model contains any error on selection of the SQL Tab, while cre= ating/updating any Node.

Please find the attached patch f= or the same.

Thanks,
Khushboo

--001a11410804fb0c920531ed67ef-- --001a11410804fb0c980531ed67f1 Content-Type: text/x-patch; charset=US-ASCII; name="pgAdmin4_sqltab_validation.patch" Content-Disposition: attachment; filename="pgAdmin4_sqltab_validation.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_inra4p1t0 ZGlmZiAtLWdpdCBhL3dlYi9wZ2FkbWluL3N0YXRpYy9qcy9iYWNrZm9ybS5w Z2FkbWluLmpzIGIvd2ViL3BnYWRtaW4vc3RhdGljL2pzL2JhY2tmb3JtLnBn YWRtaW4uanMKaW5kZXggYWIyZjJmYi4uZGJkZDZjYyAxMDA2NDQKLS0tIGEv d2ViL3BnYWRtaW4vc3RhdGljL2pzL2JhY2tmb3JtLnBnYWRtaW4uanMKKysr IGIvd2ViL3BnYWRtaW4vc3RhdGljL2pzL2JhY2tmb3JtLnBnYWRtaW4uanMK QEAgLTEzOTQsOCArMTM5NCw5IEBACiAgICAgICAvLyBGZXRjaCB0aGUgaW5m b3JtYXRpb24gb25seSBpZiB0aGUgU1FMIHRhYiBpcyB2aXNpYmxlIGF0IHRo ZSBtb21lbnQuCiAgICAgICBpZiAodGhpcy5kaWFsb2cgJiYgb2JqLnNob3du ID09IHRoaXMudGFiSW5kZXgpIHsKIAotICAgICAgICAvLyBXZSB3aWxsIHNl bmQgcmVxdWVzdCB0byBzZXZlciBvbmx5IGlmIHNvbWV0aGluZyBpcyBjaGFu Z2VkIGluIG1vZGVsCi0gICAgICAgIGlmKHRoaXMubW9kZWwuc2Vzc0NoYW5n ZWQoKSkgeworICAgICAgICAvLyBXZSB3aWxsIHNlbmQgYSByZXF1ZXN0IHRv IHRoZSBzZXZlciBvbmx5IGlmIHNvbWV0aGluZyBoYXMgY2hhbmdlZAorICAg ICAgICAvLyBpbiBhIG1vZGVsIGFuZCBhbHNvIGl0IGRvZXMgbm90IGNvbnRh aW4gYW55IGVycm9yLgorICAgICAgICBpZih0aGlzLm1vZGVsLnNlc3NDaGFu Z2VkKCkgJiYgXy5zaXplKHRoaXMubW9kZWwuZXJyb3JNb2RlbC5hdHRyaWJ1 dGVzKSA9PSAwKSB7CiAKICAgICAgICAgICB2YXIgc2VsZiA9IHRoaXMsCiAg ICAgICAgICAgICBub2RlID0gc2VsZi5maWVsZC5nZXQoJ3NjaGVtYV9ub2Rl JyksCg== --001a11410804fb0c980531ed67f1 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 --001a11410804fb0c980531ed67f1--