<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Tue May 21 10:15:32 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-168/PCBC-168.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-168] cannot query with compound key</title>
                <link>http://www.couchbase.com/issues/browse/PCBC-168</link>
                <project id="10049" key="PCBC">Couchbase PHP client library</project>
                        <description>A view has been created and it&amp;#39;s being queried properly, but the compound keys seem to be getting quoted.  &lt;br/&gt;
&lt;br/&gt;
Is there a workaround for this approach?  Is something like the ComplexKey class used in Java needed here in PHP?&lt;br/&gt;
&lt;br/&gt;
A basic investigation shows:&lt;br/&gt;
GET /default/_design/debug/_view/user2hour?startkey=%22%5C%22%5Buser_event%5D%5C%22%22&amp;amp;endkey=%22%5C%22%5Buser_event__%5D%5C%22%22&amp;amp;group=true   &amp;lt;&amp;lt; doesn&amp;#39;t work&lt;br/&gt;
GET /default/_design/debug/_view/user2hour?startkey=%5B%22user_event%22%5D&amp;amp;endkey=%5B%22user_event__%22%5D&amp;amp;group=true HTTP/1.1                  &amp;lt;&amp;lt; works&lt;br/&gt;
&lt;br/&gt;
So it seems it&amp;#39;s extra quoting that&amp;#39;s going on.&lt;br/&gt;
&lt;br/&gt;
See also:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/forums/thread/view-array-key-started-behave-differently-http-request-and-php-api&quot;&gt;http://www.couchbase.com/forums/thread/view-array-key-started-behave-differently-http-request-and-php-api&lt;/a&gt;</description>
                <environment></environment>
            <key id="21380">PCBC-168</key>
            <summary>cannot query with compound key</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="5">Cannot Reproduce</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mnunberg">Mark Nunberg</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Dec 2012 20:29:48 -0600</created>
                <updated>Tue, 18 Dec 2012 11:09:42 -0600</updated>
                    <resolved>Tue, 18 Dec 2012 11:09:42 -0600</resolved>
                            <version>1.1.1</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="46136" author="ingenthr" created="Mon, 17 Dec 2012 20:30:35 -0600"  >I&amp;#39;ve assigned this to Michael, since he may have an idea how to approach the problem with a workaround.&lt;br/&gt;
&lt;br/&gt;
Michael, once you have an idea what it is, can you please reassign it to Trond for a proper fix?</comment>
                    <comment id="46154" author="mnunberg" created="Tue, 18 Dec 2012 02:16:57 -0600"  >I&amp;#39;ve answered this on the forum post.. In summary, nothing is broken, but the API changed between DP versions.&lt;br/&gt;
&lt;br/&gt;
The API change is reversible by using an extra handle-level option (see the forum post)</comment>
                    <comment id="46171" author="ingenthr" created="Tue, 18 Dec 2012 11:09:42 -0600"  >Mark: thanks so much for helping to address that.  I didn&amp;#39;t pick up on the change.</comment>
                </comments>
                    <attachments>
                    <attachment id="16011" name="oleg.php" size="1651" author="ingenthr" created="Mon, 17 Dec 2012 20:29:48 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9746</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>