Deleted documents show up in Database as a model

Bug #1219862 reported by Cris Dywan
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
U1DB Qt/ QML
Confirmed
High
Cris Dywan
u1db-qt (Ubuntu)
New
Undecided
Unassigned

Bug Description

Besides bug 1213013 I completely overlooked the behavior when using Database directly. The implementation is separate unfortunately.

Tags: devexp
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

This also happens when you use db.listDocs() API, which is kind of confusing.

Revision history for this message
Cris Dywan (kalikiana) wrote :

Using Query is apparently less obvious than resorting to listDocs. It might be sensible to add an explicit to the docs that deleted documents will be included and the recommended use is via Query.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

As discussed yesterday, agreed that a comment to the docs + recommendation would make sense (especially as listDocs() would be used for debugging purpose)

tags: added: devexp
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.