tzaeschke / zoodb

ZooDB Object Database
Apache License 2.0
57 stars 9 forks source link

Implicit query parameter fails with NPE on != null comparison in QueryParserV3.parseTerm() #100

Open slavap opened 7 years ago

slavap commented 7 years ago

Not sure, may be it's supposed behavior, but looks strange to me.

Test attached, rename png to zip. zoodbbugs2

tzaeschke commented 7 years ago

Yes, this is a bug. It is pretty much known because the current query parser usually fails if the left hand side of a term is not a field (or if the right hand side is a field). This should be fixed with the new query engine.