Filtering a query with a specific field, shows also the entries that doesn't have that field

Bug #1384712 reported by Stefano Verzegnassi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
U1DB Qt/ QML
New
Undecided
Unassigned

Bug Description

Suppose we have a database with some entries that have only a "text" field.
We want to introduce a new field, called "starred" and we create some new entries in the database that have both the fields.

We try to filter all the entries using a U1db.Query and asking for "starred" to be true.

WHAT'S EXPECTED?
Only the entries with "starred=true" are shown. The ones that have no "starred" field at all should never be listed.

WHAT HAPPENS?
Also the entries with no "starred" field are shown in our query.

Attached herein there is sample that shows this issue.

Revision history for this message
Stefano Verzegnassi (verzegnassi-stefano) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.