XEdwin / jcouchdb

Automatically exported from code.google.com/p/jcouchdb
Other
0 stars 0 forks source link

Design documents store the document id as both "id" and "_id". #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the CouchDBUpdater to store / update design documents
2. Once the design documents are stored in the db, view it in the browser
3. Notice that both "_id" and "id" are set to the document identifier

What is the expected output? What do you see instead?
Expect that the "id" field is just an alias for "_id" as in other BaseDocuments.

What version of the product are you using? On what operating system?
0.10.0-2

Please provide any additional information below.
I suspect that this is because DesignDocument extends BaseDocument, but without 
the 
JSONProperty annotation, but I haven't confirmed that is the case.

Original issue reported on code.google.com by cory.hac...@gmail.com on 28 Oct 2009 at 12:01

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r228.

Original comment by ff...@gmx.de on 28 Oct 2009 at 10:15