<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Sat May 18 12:49:33 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/PCBC-34/PCBC-34.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[PCBC-34] Using PHP library to store json encoded utf-8 values appears to add content as an attachment with no reason</title>
                <link>http://www.couchbase.com/issues/browse/PCBC-34</link>
                <project id="10049" key="PCBC">Couchbase PHP client library</project>
                        <description>when attempting to add a document with the following value:&lt;br/&gt;
{&amp;quot;ent_seq&amp;quot;:&amp;quot;1000000&amp;quot;,&amp;quot;r_ele&amp;quot;:[{&amp;quot;reb&amp;quot;:&amp;quot;\u30fd&amp;quot;},{&amp;quot;reb&amp;quot;:&amp;quot;\u304f\u308a\u304b\u3048\u3057&amp;quot;}],&amp;quot;sense&amp;quot;:[{&amp;quot;pos&amp;quot;:[&amp;quot;&amp;amp;n;&amp;quot;],&amp;quot;gloss&amp;quot;:[{&amp;quot;lang&amp;quot;:&amp;quot;en&amp;quot;,&amp;quot;gend&amp;quot;:null,&amp;quot;value&amp;quot;:&amp;quot;repetition mark in katakana&amp;quot;},{&amp;quot;lang&amp;quot;:&amp;quot;ger&amp;quot;,&amp;quot;gend&amp;quot;:null,&amp;quot;value&amp;quot;:&amp;quot;(n) Wiederholung&amp;quot;},{&amp;quot;lang&amp;quot;:&amp;quot;ger&amp;quot;,&amp;quot;gend&amp;quot;:null,&amp;quot;value&amp;quot;:&amp;quot;Refrain&amp;quot;}]}]}&lt;br/&gt;
&lt;br/&gt;
Fails.  However, adding this string in via the couchbase admin ui works correctly.&lt;br/&gt;
&lt;br/&gt;
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.&lt;br/&gt;
</description>
                <environment>php 5.3,  2.0.0 community edition (build-388-gf35126e)</environment>
            <key id="16065">PCBC-34</key>
            <summary>Using PHP library to store json encoded utf-8 values appears to add content as an attachment with no reason</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="tdondich">Taylor Dondich</reporter>
                        <labels>
                    </labels>
                <created>Wed, 1 Feb 2012 20:09:23 -0600</created>
                <updated>Sat, 15 Dec 2012 13:20:39 -0600</updated>
                    <resolved>Wed, 5 Sep 2012 14:28:39 -0500</resolved>
                            <version>1.0</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="24058" author="jan" created="Fri, 3 Feb 2012 10:59:30 -0600"  >Thanks for the report. I&amp;#39;ll be looking into this early next week :)</comment>
                    <comment id="36908" author="daschl" created="Sun, 26 Aug 2012 08:28:22 -0500"  >Since this bug report has been filed a lot has changed, and I couldn&amp;#39;t reproduce this behaviour on the latest 1.1 SDK with a recent CB 2.0 server.&lt;br/&gt;
&lt;br/&gt;
The following test script works without errors:&lt;br/&gt;
&lt;br/&gt;
&amp;lt;?php&lt;br/&gt;
&lt;br/&gt;
$cb = new Couchbase(&amp;#39;localhost:8091&amp;#39;);&lt;br/&gt;
&lt;br/&gt;
$string = &amp;#39;{&amp;quot;ent_seq&amp;quot;:&amp;quot;1000000&amp;quot;,&amp;quot;r_ele&amp;quot;:[{&amp;quot;reb&amp;quot;:&amp;quot;\u30fd&amp;quot;},{&amp;quot;reb&amp;quot;:&amp;quot;\u304f\u308a\u304b\u3048\u3057&amp;quot;}],&amp;quot;sense&amp;quot;:[{&amp;quot;pos&amp;quot;:[&amp;quot;&amp;amp;n;&amp;quot;],&amp;quot;gloss&amp;quot;:[{&amp;quot;lang&amp;quot;:&amp;quot;en&amp;quot;,&amp;quot;gend&amp;quot;:null,&amp;quot;value&amp;quot;:&amp;quot;repetition mark in katakana&amp;quot;},{&amp;quot;lang&amp;quot;:&amp;quot;ger&amp;quot;,&amp;quot;gend&amp;quot;:null,&amp;quot;value&amp;quot;:&amp;quot;(n) Wiederholung&amp;quot;},{&amp;quot;lang&amp;quot;:&amp;quot;ger&amp;quot;,&amp;quot;gend&amp;quot;:null,&amp;quot;value&amp;quot;:&amp;quot;Refrain&amp;quot;}]}]}&amp;#39;;&lt;br/&gt;
$cb-&amp;gt;set(&amp;#39;strangekey&amp;#39;, $string);&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
var_dump($cb-&amp;gt;get(&amp;#39;strangekey&amp;#39;));&lt;br/&gt;
?&amp;gt;&lt;br/&gt;
&lt;br/&gt;
Taylor, is this still an issue for you? I suppose this has been fixed in the latest releases.</comment>
                    <comment id="37713" author="ingenthr" created="Wed, 5 Sep 2012 14:28:39 -0500"  >appears to be fixed</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9856</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>
</channel>
</rss>