Skip Menu |

This queue is for tickets about the AnyEvent-CouchDB CPAN distribution.

Report information
The Basics
Id: 70506
Status: resolved
Priority: 0/
Queue: AnyEvent-CouchDB

People
Owner: Nobody in particular
Requestors: james.howe [...] cantab.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: save_doc doesn't update attachment stubs
Date: Fri, 26 Aug 2011 11:59:34 +0100
To: bug-anyevent-couchdb [...] rt.cpan.org
From: James Howe <james.howe [...] cantab.net>
While AnyEvent::CouchDB::Database::save_doc does update the _id and _rev so as to allow further updates, it does not convert the members of _attachments into the correct stubs. This should probably be done for consistency and could be done client-side as the transformation is deterministic.
James, Apologies for the late reply and thank you for the bug report. I have fixed this bug in trunk, and I will be making a new release shortly (as soon as I fix a few more bugs). https://github.com/beppu/anyevent- couchdb/commit/da6ffd66cce47f5820bdc1a576351aff637de520 On Fri Aug 26 06:59:41 2011, james.howe@cantab.net wrote: Show quoted text
> While AnyEvent::CouchDB::Database::save_doc does update the _id and _rev so > as to allow further updates, it does not convert the members of _attachments > into the correct stubs. This should probably be done for consistency and > could be done client-side as the transformation is deterministic.