Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0
-
Fix Version/s: None
-
Component/s: library
-
Security Level: Public
-
Labels:None
-
Environment:php 5.3, 2.0.0 community edition (build-388-gf35126e)
Description
when attempting to add a document with the following value:
{"ent_seq":"1000000","r_ele":[{"reb":"\u30fd"},{"reb":"\u304f\u308a\u304b\u3048\u3057"}],"sense":[{"pos":["&n;"],"gloss":[{"lang":"en","gend":null,"value":"repetition mark in katakana"},{"lang":"ger","gend":null,"value":"(n) Wiederholung"},{"lang":"ger","gend":null,"value":"Refrain"}]}]}
Fails. However, adding this string in via the couchbase admin ui works correctly.
The failure is it adds it as an attachment, not as a document. This breaks the functionality of views. The get method works properly and returns the array data.
{"ent_seq":"1000000","r_ele":[{"reb":"\u30fd"},{"reb":"\u304f\u308a\u304b\u3048\u3057"}],"sense":[{"pos":["&n;"],"gloss":[{"lang":"en","gend":null,"value":"repetition mark in katakana"},{"lang":"ger","gend":null,"value":"(n) Wiederholung"},{"lang":"ger","gend":null,"value":"Refrain"}]}]}
Fails. However, adding this string in via the couchbase admin ui works correctly.
The failure is it adds it as an attachment, not as a document. This breaks the functionality of views. The get method works properly and returns the array data.