Tryton - Issues

 

Issue8615

Title Domain evaluation against None
Priority bug Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type behavior Components sao, tryton, trytond
Assigned To ced Keywords review
Reviews 290281002
View: 290281002

Created on 2019-08-27.22:04:20 by ced, last changed by roundup-bot.

Messages
New changeset d821c2479942 by Cédric Krier in branch 'default':
Returns None when evaluating domain with None
https://hg.tryton.org/tryton-env/rev/d821c2479942
New changeset 0123741b8dc4 by Cédric Krier in branch 'default':
Returns None when evaluating domain with None
https://hg.tryton.org/trytond/rev/0123741b8dc4
New changeset 57e0e3a871c1 by Cédric Krier in branch 'default':
Returns None when evaluating domain with None
https://hg.tryton.org/tryton/rev/57e0e3a871c1
New changeset becbdd5a8e5e by Cédric Krier in branch 'default':
Returns None when evaluating domain with None
https://hg.tryton.org/sao/rev/becbdd5a8e5e
review290281002 updated at https://codereview.tryton.org/290281002/#ps301751002
msg51531 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-08-27.22:04:19
In r 49609073c798, I added a fallback when comparing datetime against None.
I think the behavior is wrong compare to SQL behavior. We should always return False when comparing against None except with '='.
History
Date User Action Args
2020-06-19 00:18:43roundup-botsetmessages: + msg58790
2020-06-19 00:18:35roundup-botsetmessages: + msg58789
2020-06-19 00:18:31roundup-botsetmessages: + msg58788
2020-06-19 00:18:26roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg58787
2020-06-06 17:36:52reviewbotsetnosy: + reviewbot
messages: + msg58566
2020-06-06 17:25:10cedsetstatus: unread -> testing
reviews: 290281002
keyword: + review
assignedto: ced
2019-08-27 22:04:20cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)