[Rt-devel] Bug in Query builder (3.4.5 and 3.6.1)?

Philip Kime pkime at Shopzilla.com
Thu Nov 16 18:35:52 EST 2006


Looks fixed in 6450, thanks - guessing this will become 3.6.2?

Pk 

-----Original Message-----
From: Ruslan Zakirov [mailto:ruslan.zakirov at gmail.com] 
Sent: Thursday, November 16, 2006 2:10 PM
To: Philip Kime
Cc: Joby Walker; rt-devel at lists.bestpractical.com
Subject: Re: [Rt-devel] Bug in Query builder (3.4.5 and 3.6.1)?

Check out revision 6450 from the repo.

On 11/3/06, Philip Kime <pkime at shopzilla.com> wrote:
> Hmm, but what about this - in the advanced view, I do
>
> Queue = 'A' OR ( Status = 'new' AND Subject LIKE 'office')
>
> I click apply and it becomes:
>
> Queue = 'A' AND ( Status = 'new' AND Subject LIKE 'office')
>
> ??
>
>
> -----Original Message-----
> From: Joby Walker [mailto:joby at u.washington.edu]
> Sent: Thursday, November 02, 2006 7:26 PM
> To: Philip Kime
> Cc: rt-devel at lists.bestpractical.com
> Subject: Re: [Rt-devel] Bug in Query builder (3.4.5 and 3.6.1)?
>
> This isn't broken, you need to use parenthesis:
>
> A,
> OR (
>     B,
>     AND C
>     )
>
> jbw
>
> Philip Kime wrote:
> > Can anyone reproduce this?
> >
> > Construct a query "A AND B" then change the aggregator to "OR" and 
> > add
>
> > a condition "C.
> >
> > The original AND changes to an OR. so it becomes "A OR B OR C"
> >
> > Same thing happens if you start with OR and add an AND, you end up 
> > with "A AND B AND C".
> >
> > Happens in 3.4.5 and 3.6.1
> >
> > The same thing constructed on the command-line with the REST 
> > interface
>
> > isn't broken and returns the right thing.
> >
> > PK
> >
> > --
> > Philip Kime
> > NOPS Systems Architect
> > 310 401 0407
> >
> >
> >
> > --------------------------------------------------------------------
> > --
> > --
> >
> > _______________________________________________
> > List info:
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>
> _______________________________________________
> List info: 
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>


--
Best regards, Ruslan.


More information about the Rt-devel mailing list