desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #85642
[Bug 702007] Re: get_all_records does not return records with their attachments
natty has seen the end of its life and is no longer receiving any
updates. Marking the natty task for this ticket as "Won't Fix".
** Changed in: desktopcouch (Ubuntu Natty)
Status: Confirmed => Won't Fix
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to desktopcouch in Ubuntu.
https://bugs.launchpad.net/bugs/702007
Title:
get_all_records does not return records with their attachments
Status in Desktop CouchDB:
Confirmed
Status in desktopcouch package in Ubuntu:
Confirmed
Status in desktopcouch source package in Natty:
Won't Fix
Bug description:
The get_all_records function relies on the transform_to_records
function to convert the view results to Records. There is a bug on
transform_to_records because it does not handle the situation in which
the record has an attachment. Attahcments from views are returned as
stubs in the '_attachments' keyword, but such special case is ignored
in the Record constructor because it would require to know the db from
which the record was created. To solve this issue the
transform_to_records function should perform a similar job as the one
found in get_record(id), otherwhise developers will find that the
attachments from the record cannot be retrieved and will get a
KeyError.
To manage notifications about this bug go to:
https://bugs.launchpad.net/desktopcouch/+bug/702007/+subscriptions