Deleted documents show up in Query in a ListView

Bug #1213013 reported by Christian Dywan on 2013-08-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Christian Dywan
u1db-qt (Ubuntu)

Bug Description

The informal way of deleting documents is this:

database.putDoc("", docId)

But Query currently wrongly includes these documents.

In a semi-related matter it may be worth having a remove() function but functionality would be the same then.

Related branches

Changed in u1db-qt:
milestone: none → 1.0
status: Confirmed → In Progress
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:u1db-qt at revision 104, scheduled for release in u1db-qt, milestone 1.0

Changed in u1db-qt:
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package u1db-qt - 0.1.5+13.10.20130827-0ubuntu1

u1db-qt (0.1.5+13.10.20130827-0ubuntu1) saucy; urgency=low

  [ Christian Dywan ]
  * Always omit deleted/ empty Query results and update tests. (LP:

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 104
 -- Ubuntu daily release <email address hidden> Tue, 27 Aug 2013 19:11:29 +0000

Changed in u1db-qt (Ubuntu):
status: New → Fix Released
Didier Roche (didrocks) wrote :

Seems to me to still be the case with 0.1.5+15.04.20150327-0ubuntu1
using deleteDoc(docId).

The content is indeed vanished, but using db.listDocs() or using the db as a model returns all docs, including the one I deleted (with empty content, but still listed)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers