Products.ERP5Type.Core.Predicate: Obey isEmptyCriterionValid .
When EmptyCriterionValid property is true, this method is expected to return a query which does not match any document. This only happens when query_list is empty, but because of category membership checking, query_list is never empty: it at least contains two ComplexQueries which themselves may contain an empty query list, and which match all documents. Calling getCategoryParameterDict with an empty list is dubious, but changing its behaviour in ZSQLCatalog may affect more than just predicates, so change the behaviour in Predicate class directly by checking whether there is any category being matched to begin with.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#338732
external
|
ERP5.CodingStyleTest-Master |
00:00:03
|
||||||
passed |
#338754
external
|
ERP5.PerformanceTest-Master |
00:00:00
|
||||||
failed |
#338814
external
|
ERP5.UnitTest-Master |
03:25:58
|
||||||
failed |
#338739
external
|
ERP5.UnitTest-Master.Medusa |
00:15:36
|
||||||
passed |
#338774
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
08:20:07
|
||||||
passed |
#338779
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
08:18:04
|
||||||
failed |
#338741
external
retried
|
ERP5.UnitTest-Master |
00:00:02
|
||||||
passed |
#338763
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
|
||||||
passed |
#338759
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
|
||||||