Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2vu6-0001iL-VZ for pgadmin-hackers@arkaria.postgresql.org; Wed, 18 May 2016 07:28:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b2vu5-0005zS-U0 for pgadmin-hackers@arkaria.postgresql.org; Wed, 18 May 2016 07:28:25 +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 1b2vtr-0005l3-Rj for pgadmin-hackers@postgresql.org; Wed, 18 May 2016 07:28:11 +0000 Received: from mail-io0-x235.google.com ([2607:f8b0:4001:c06::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b2vti-0007Et-UR for pgadmin-hackers@postgresql.org; Wed, 18 May 2016 07:28:11 +0000 Received: by mail-io0-x235.google.com with SMTP id d62so54263841iof.2 for ; Wed, 18 May 2016 00:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=sFETSP3zVBTg4KgmJ4jzdfnZv8lxirPP8xDVpsUoix4=; b=I+K4u2HprtLs4UAAX5Jzyh5nf9bGxpTxnSUh63yv+YfVJEPlWMDOHzlVPbmNNsj22a xHGzeHUoX9zi4MJYK7fsWsVEIXDEOZ53G0vP34gDWydzIBtdCtSqzNCJEnZfTMdc0e5C dqf698Xoj/iwQfrAMxX0/YeNTVbPGi9/acjQXCE3TZnpm2+PIzIlKCh/ubpFsznx/QEZ eDkeLBsrwE52PFNbyaGqhjn21sTzWe1zu0PAAXjQ+DJf+xQShcJ3MnQhiVRMC/lCwMcJ n/6sVk84kciyULZLseYhp3EUtmQW0OBkIhOLapcXXDqslAADLU859ojMZV+/3durA2kC hvnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=sFETSP3zVBTg4KgmJ4jzdfnZv8lxirPP8xDVpsUoix4=; b=NnrmlqG/GCEruoxUCs7CtxxtXxolLCUNXhw3FHBDJQFY2zneQWxyzNQLyFd6M3SUmg 4Os3ggpOBNny/AFI0mX8Lmg8yl7X9UKX/S2Kerl5+1ZadLnH/pXuLWsPyswl9Nvl9dRz p5TZW+xd2tKr9LHR7NRWzXUBOxTKQw/1Hpea109OhH4W59aJVMLbLHWbH0Zyk1QAmtHq WlMM7/98GBWphh/4Yr8Pw88tp/c4wURreHsuNEceRL6jjTl/ZdcNzZVImV04wri5zlhr NpYXYXmFDtgK5xoAcr/4/a1LFK14kTrVGWeSoDPyTaTgGfkalDirxEQAmM827BVNwHmY y0Vw== X-Gm-Message-State: AOPr4FVHTuMv9suFr9Kx0Ydj1xdgA5Xp6n0K3XgFrlAwF4u62J/OLwyfC+lb+leqj96KWJHBEcYg1dWTcxkx2WR1 X-Received: by 10.107.32.79 with SMTP id g76mr3825565iog.117.1463556481088; Wed, 18 May 2016 00:28:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.31.209 with HTTP; Wed, 18 May 2016 00:27:41 -0700 (PDT) In-Reply-To: References: From: Ashesh Vashi Date: Wed, 18 May 2016 12:57:41 +0530 Message-ID: Subject: Re: PATCH: FTS configuration node To: Sanket Mehta Cc: Harshal Dhumal , Akshay Joshi , pgadmin-hackers Content-Type: multipart/alternative; boundary=001a1140bfb82a4568053318cc5d 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 --001a1140bfb82a4568053318cc5d Content-Type: text/plain; charset=UTF-8 On Wed, May 18, 2016 at 12:52 PM, Sanket Mehta < sanket.mehta@enterprisedb.com> wrote: > > On Wed, May 18, 2016 at 12:42 PM, Ashesh Vashi < > ashesh.vashi@enterprisedb.com> wrote: > >> On Wed, May 18, 2016 at 12:41 PM, Sanket Mehta < >> sanket.mehta@enterprisedb.com> wrote: >> >>> Hi, >>> >>> PFA the revised patch. >>> Response is lnline. >>> >>> Regards, >>> Sanket Mehta >>> Sr Software engineer >>> Enterprisedb >>> >>> On Tue, May 17, 2016 at 12:54 PM, Harshal Dhumal < >>> harshal.dhumal@enterprisedb.com> wrote: >>> >>>> Hi Sanket, >>>> >>>> Please find my review comments below: >>>> >>>> 1. In create mode it generates wrong sql. >>>> >>>> CREATE TEXT SEARCH CONFIGURATION test.asdf ( >>>> COPY= >>>> ); >>>> >>>> steps to reproduce: >>>> a] Fill up any necessary fields in general tab. >>>> b] On definition tab set Copy config filed and navigate to SQL tab. >>>> c] Come back again to definition tab clear Copy config field and >>>> set Parser field and again navigate to SQL tab >>>> >>> Fixed >>> >>>> >>>> 2. Create new FTS configuration with parser throws below error. >>>> >>>> provide atleast copy config or parser. >>>> >>>> (this is because you have used key name for parser in js as "prsname" >>>> and in python you have applied validations on key "parser") >>>> >>> Fixed >>> >>>> >>>> 3. When we clear dictionary for any token using cross (x) button in >>>> select2; JavaScript code for selecct2 fails. (see attached screenshot) >>>> >>> This occurs due to issue in select2 control. Its a generalized issue >>> which will be resolved later. >>> >> When you say - it is common issue, can you please point where else you've >> seen this behaviour? >> > The same behaviour occurs in all nodes where multiselect cell is being > used like, exclusion control, debugger etc. > We do not have MultiSelectCell. -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA: Enterprise PostgreSQL Company *http://www.linkedin.com/in/asheshvashi* > >> -- >> >> Thanks & Regards, >> >> Ashesh Vashi >> EnterpriseDB INDIA: Enterprise PostgreSQL Company >> >> >> >> *http://www.linkedin.com/in/asheshvashi* >> >> >>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> *Harshal Dhumal* >>>> *Software Engineer * >>>> >>>> >>>> >>>> EenterpriseDB >>>> >>>> On Mon, May 16, 2016 at 7:37 PM, Sanket Mehta < >>>> sanket.mehta@enterprisedb.com> wrote: >>>> >>>>> Hi, >>>>> >>>>> Revised patch is attached with this mail. >>>>> My response is inline. >>>>> >>>>> >>>>> Regards, >>>>> Sanket Mehta >>>>> Sr Software engineer >>>>> Enterprisedb >>>>> >>>>> On Fri, May 13, 2016 at 6:20 PM, Akshay Joshi < >>>>> akshay.joshi@enterprisedb.com> wrote: >>>>> >>>>>> Hi Sanket >>>>>> >>>>>> Below are my review comments: >>>>>> >>>>>> >>>>>> - Add button should be disabled in Tokens tab while creating. >>>>>> >>>>>> Done >>>>> >>>>>> >>>>>> - Unable to click on down arrow for token select control. >>>>>> >>>>>> Done >>>>> >>>>>> >>>>>> - Title should be change from "Create FTS-dictionaries" to >>>>>> "Create FTS-Configuration". >>>>>> >>>>>> Done >>>>> >>>>>> >>>>>> - Tree node is not getting refreshed on name change. >>>>>> >>>>>> Done >>>>> >>>>>> >>>>>> - Unable to rename FTS Configuration when name contains any >>>>>> capital letter. >>>>>> >>>>>> Done >>>>> >>>>>> >>>>>> - If user tries to add already existing token then respective row >>>>>> in the backgrid should be highlighted. >>>>>> >>>>>> Done >>>>> >>>>>> >>>>>> - "URL not found" when click on SQL help icon from the properties >>>>>> dialog. >>>>>> >>>>>> Done >>>>> >>>>>> >>>>>> - SQL should not be generated when remove and add the same token >>>>>> again. Currently it is creating two sql's one for remove and >>>>>> another is for add. >>>>>> - *Fix for the above issue is*: - Add "keys: ['token']," to >>>>>> TokenModel in your js file. >>>>>> >>>>>> Done >>>>> >>>>> >>>>>> >>>>>> On Fri, May 13, 2016 at 2:58 PM, Sanket Mehta < >>>>>> sanket.mehta@enterprisedb.com> wrote: >>>>>> >>>>>>> Hi All, >>>>>>> >>>>>>> Last patch for FTS configuration does not contain node.ui.js file >>>>>>> Kindly ignore it. >>>>>>> >>>>>>> Here is the new revised patch attached with this mail. >>>>>>> Please do review it and let me know if any changes required >>>>>>> >>>>>>> Regards, >>>>>>> Sanket Mehta >>>>>>> Sr Software engineer >>>>>>> Enterprisedb >>>>>>> >>>>>>> On Thu, May 12, 2016 at 4:38 PM, Sanket Mehta < >>>>>>> sanket.mehta@enterprisedb.com> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> PFA the revised patch. >>>>>>>> Please do review it and let me know if anything is not proper. >>>>>>>> >>>>>>>> Regards, >>>>>>>> Sanket Mehta >>>>>>>> Sr Software engineer >>>>>>>> Enterprisedb >>>>>>>> >>>>>>>> On Thu, May 5, 2016 at 8:19 PM, Harshal Dhumal < >>>>>>>> harshal.dhumal@enterprisedb.com> wrote: >>>>>>>> >>>>>>>>> + patch link >>>>>>>>> >>>>>>>>> >>>>>>>>> http://www.postgresql.org/message-id/CAFiP3vwkka+=1FOJ7kr2zbC4AzecoCa9eO9DZ34-Oyy_9gE92g@mail.gmail.com >>>>>>>>> >>>>>>>>> -- >>>>>>>>> *Harshal Dhumal* >>>>>>>>> *Software Engineer * >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> EenterpriseDB >>>>>>>>> >>>>>>>>> On Thu, May 5, 2016 at 8:18 PM, Sanket Mehta < >>>>>>>>> sanket.mehta@enterprisedb.com> wrote: >>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> PFA first patch for FTS configuration node. >>>>>>>>>> >>>>>>>>>> It depends upon backgrid select2cell multi select control, for >>>>>>>>>> which Harshal has sent the patch recently. >>>>>>>>>> Please do apply his patch first and then apply this patch. >>>>>>>>>> >>>>>>>>>> Please do review it and let me know if any changes are required. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Regards, >>>>>>>>>> Sanket Mehta >>>>>>>>>> Sr Software engineer >>>>>>>>>> Enterprisedb >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Sent via pgadmin-hackers mailing list ( >>>>>>>>>> pgadmin-hackers@postgresql.org) >>>>>>>>>> To make changes to your subscription: >>>>>>>>>> http://www.postgresql.org/mailpref/pgadmin-hackers >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Sent via pgadmin-hackers mailing list ( >>>>>>> pgadmin-hackers@postgresql.org) >>>>>>> To make changes to your subscription: >>>>>>> http://www.postgresql.org/mailpref/pgadmin-hackers >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> *Akshay Joshi* >>>>>> *Principal Software Engineer * >>>>>> >>>>>> >>>>>> >>>>>> *Phone: +91 20-3058-9517Mobile: +91 976-788-8246* >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) >>>>> To make changes to your subscription: >>>>> http://www.postgresql.org/mailpref/pgadmin-hackers >>>>> >>>>> >>>> >>> >>> >>> -- >>> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) >>> To make changes to your subscription: >>> http://www.postgresql.org/mailpref/pgadmin-hackers >>> >>> >> > --001a1140bfb82a4568053318cc5d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On Wed, May 18, 2016 at 12:52 PM, Sanket Mehta <sanket.mehta@e= nterprisedb.com> wrote:
=

On Wed, May 18, 2016 at 12:42 PM, Ashesh Vashi &l= t;ashesh= .vashi@enterprisedb.com> wrote:

On Wed, May 18, 2016 at= 12:41 PM, Sanket Mehta <sanket.mehta@enterprisedb.com>= wrote:

Hi,

P= FA the revised patch.
Response is lnline.

Regards,
Sanket Mehta
Sr Software engineer
Ent= erprisedb

On Tue, May 17, 2016 at 12:54 P= M, Harshal Dhumal <harshal.dhumal@enterprisedb.com> wrote:
= Hi Sanket,

Please find my review comments below:

= 1. In create mode it generates wrong sql.

CREATE TEXT SEARCH CONFIGU= RATION test.asdf (
=C2=A0=C2=A0=C2=A0 COPY=3D
);
steps to reproduce:
=C2=A0=C2=A0=C2=A0 a] Fill up any necessa= ry fields in general tab.
=C2=A0=C2=A0=C2=A0 b] On definition tab set Co= py config filed and navigate to SQL tab.
=C2=A0=C2=A0=C2=A0 c] Com= e back again to definition tab clear Copy config field and set Parser field= and again navigate to SQL tab
Fixe= d=C2=A0

2.= Create new FTS configuration with parser throws below error.

provide atleast copy config or pars= er.

(this is because you have used key = name for parser in js as "prsname" and in python you have applied= validations on key "parser")
=
Fixed=C2=A0

3. When we clear dictionary for any token using cross (x) butt= on in select2; JavaScript code for selecct2 fails. (see attached screenshot= )
This occurs due to issue in select2 con= trol. Its a generalized issue which will be resolved later.
When you say - it is common issue, can you= please point where else you've seen this behaviour?
<= /div>
The same behaviour occurs in all nodes w= here multiselect cell is being used like, exclusion control, debugger etc.<= /div>
We do not have MultiSelectCell.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA:=C2=A0Enterprise PostgreSQL C= ompany



--

Thanks & Regards,

Ashesh Vashi<= /span>
Ent= erpriseDB INDIA:=C2=A0Enterprise PostgreSQL Company







=

=
--=C2=A0
Harshal Dhumal
Software Engineer=C2=A0

=



On Mon, May 16, 2016 at 7:3= 7 PM, Sanket Mehta <sanket.mehta@enterprisedb.com> wrote:
Hi,

Revis= ed patch is attached with this mail.
My response is inline.
=


Regards,
Sanket Mehta
Sr Software engineer
Enterprisedb

On Fri, May 13, 2016 at 6:20 PM= , Akshay Joshi <akshay.joshi@enterprisedb.com> w= rote:
Hi Sanket=C2=A0
Below are my review comments:

    =
  • Add button should be disabled in Tokens tab while creating.
Done=C2=A0
  • Unable to click on down arrow for token se= lect control.=C2=A0
Done= =C2=A0
  • Title shou= ld be change from "Create FTS-dictionaries" to "= ;Create FTS-Configuration".
Done=C2=A0
  • Tree node is not getting refreshed on name change.
  • <= /ul>
Done=C2=A0
  • Unable to rename FTS Config= uration when name contains any capital letter.
Done=C2=A0
  • If user tries to add already existing token then respective= row in the backgrid should be highlighted.
Done=C2=A0
  • "URL not found" when click on SQL= help icon from the properties dialog.=C2=A0
<= /div>
Done=C2=A0
=
  • SQL should not be generated when= remove and add the same token again. Currently it is creating two sq= l's one for remove and another is for add.
    • Fix fo= r the above issue is: - Add "keys: ['token']," to TokenModel in your js file.
Done
=C2=A0

O= n Fri, May 13, 2016 at 2:58 PM, Sanket Mehta <sanket.mehta@en= terprisedb.com> wrote:
H= i All,

Last patch for FTS configuration does not contain= node.ui.js file
Kindly ignore it.

Here = is the new revised patch attached with this mail.
Please do revie= w it and let me know if any changes required

Regards,
San= ket Mehta
Sr Software engineer
Enterprisedb
=

On Thu, May 12, 2016 at 4:3= 8 PM, Sanket Mehta <sanket.mehta@enterprisedb.com> wrote:
Hi,

PFA t= he revised patch.
Please do review it and let me know if anything= is not proper.

Regards,
Sanket Mehta
Sr Softwa= re engineer
Enterprisedb

On Thu, May 5, 2016 at 8:19= PM, Harshal Dhumal <harshal.dhumal@enterprisedb.com>= wrote:

--=C2=A0
Ha= rshal Dhumal
Software Engineer=C2=A0

On Thu, May 5, 2016 at 8:18 PM, Sa= nket Mehta <sanket.mehta@enterprisedb.com> wrote= :
Hi,

PFA first patch for FTS configuration node.

It depends upon backgrid select2cell multi select control, for which Har= shal has sent the patch recently.
Please do apply his patch first= and then apply this patch.

Please do review it an= d let me know if any changes are required.


Regards,
Sanket Mehta
S= r Software engineer
Enterprisedb


--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers=






--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers=




--
Akshay Joshi
Principal Softw= are Engineer=C2=A0
<= span style=3D"color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px;= border-collapse:collapse">
<= /b>
=
Phone: +91 20-3058-9517
Mobile: +91 976-788-8246
<= /font>



--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers=





--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers=




--001a1140bfb82a4568053318cc5d--