couchgrid does not correctly retrieve record id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Fix Released
|
Undecided
|
Rick Spencer | ||
desktopcouch (Ubuntu) |
Fix Released
|
High
|
Chad Miller |
Bug Description
Binary package hint: desktopcouch
the couchgrid selected_record_ids property fails because when the treeview is populated it stores the record's "key" property, which used to work. But the api was changed so that the records value["_id"] was required instead.
This can be fixed in the CouchGrid module by doing this change:
@@ -212,7 +213,7 @@
#set the last value as the document_id, and append
- row[-1] = r.key
+ row[-1] = r.value["_id"]
ProblemType: Bug
Architecture: i386
Date: Fri Oct 9 12:35:35 2009
DistroRelease: Ubuntu 9.10
Package: desktopcouch 0.4.2-0ubuntu1
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: desktopcouch
Uname: Linux 2.6.31-13-generic i686
Related branches
- Stuart Langridge (community): Approve
-
Diff: 12 lines1 file modifieddesktopcouch/records/couchgrid.py (+1/-1)
tags: | added: ubuntu-karmic |
Changed in desktopcouch (Ubuntu): | |
status: | New → Confirmed |
assignee: | nobody → Chad Miller (cmiller) |
Changed in desktopcouch: | |
status: | New → Confirmed |
assignee: | nobody → Rick Spencer (rick-rickspencer3) |
Changed in desktopcouch: | |
status: | Confirmed → Fix Committed |
Changed in desktopcouch (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in desktopcouch: | |
status: | Fix Committed → Fix Released |
This is an easy fix, and necessary to make this work for Karmic.