Activity log for bug #276789

Date Who What changed Old value New value Message
2008-10-01 15:13:26 Abel Deuring bug added bug
2008-10-01 15:14:10 Abel Deuring malone: assignee intellectronica
2008-10-01 15:14:10 Abel Deuring malone: statusexplanation
2009-09-15 03:39:09 Jonathan Lange summary inconsistent results for IBugTarget.serachTasks(has_patch=...) inconsistent results for IBugTarget.searchTasks(has_patch=...)
2010-01-18 17:59:13 Curtis Hovey malone: status New Triaged
2010-01-18 17:59:16 Curtis Hovey malone: importance Undecided Low
2010-01-18 17:59:36 Curtis Hovey description sample launchpadlib script: ubuntu = launchpad.distributions['ubuntu'] milestone = ubuntu.active_milestones[6] print milestone.name with_patch = milestone.searchTasks(has_patch="true")[:100] no_patch = milestone.searchTasks(has_patch="false")[:100] no_patch_set = set(x.self_link for x in no_patch) with_patch_set = set(x.self_link for x in with_patch) print "len no patch / set no patch", len(no_patch), len(no_patch_set) print "len with patch / set with patch", len(with_patch), len(with_patch_set) print "intersection no/with patch", no_patch_set.intersection(with_patch_set) The list with_patch contains some duplicate results; the intersection of with_patch_set and no_patch_set is not empty. This inconsistency occurs too for calls of searchTasks(has_patch="true") on distributions and products. sample launchpadlib script: ubuntu = launchpad.distributions['ubuntu'] milestone = ubuntu.active_milestones[6] print milestone.name with_patch = milestone.searchTasks(has_patch=True)[:100] no_patch = milestone.searchTasks(has_patch=False)[:100] no_patch_set = set(x.self_link for x in no_patch) with_patch_set = set(x.self_link for x in with_patch) print "len no patch / set no patch", len(no_patch), len(no_patch_set) print "len with patch / set with patch", len(with_patch), len(with_patch_set) print "intersection no/with patch", no_patch_set.intersection(with_patch_set) The list with_patch contains some duplicate results; the intersection of with_patch_set and no_patch_set is not empty. This inconsistency occurs too for calls of searchTasks(has_patch="true") on distributions and products.
2010-06-01 16:45:38 Curtis Hovey malone: assignee Tom Berger (intellectronica)
2015-09-11 07:31:21 William Grant tags lp-bugs api bug-search lp-bugs