Review: Needs Fixing

For the record (it's a bit late because it's already merged), the patch was 
incorrect and the tests too ;-)

The =like/=ilike operator are supposed to be different from the like/ilike 
operators, in the sense that they do not automatically add % wildcards around 
the expression. Your patch makes them behave exactly like the normal like/ilike 
operators (watch out for the wildcard addition vs. operator sustitution) 

For example ('name','like','f_o') should match 'foobar', but 
('name','=like','f_o') should not, but could well match 'foo' or 'flo'.

This is now fixed in trunk at revision 3637 revision-id: 
[email protected]
-- 
https://code.launchpad.net/~openerp-dev/openobject-server/trunk-bug-788106-nco/+merge/64277
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-server/trunk-bug-788106-nco.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to