<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Tue May 21 11:59:58 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-154/PCBC-154.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-154] test for touch with expiration needs updating (maybe)</title>
                <link>http://www.couchbase.com/issues/browse/PCBC-154</link>
                <project id="10049" key="PCBC">Couchbase PHP client library</project>
                        <description>I&amp;#39;m really not sure what the behavior should be, but it&amp;#39;s worth clarifying.&lt;br/&gt;
&lt;br/&gt;
What does touch with an argument of 0 imply -- it is effectively a delete.&lt;br/&gt;
&lt;br/&gt;
Perhaps this should be a warning etc?&lt;br/&gt;
&lt;br/&gt;
Please post your comments.</description>
                <environment></environment>
            <key id="21087">PCBC-154</key>
            <summary>test for touch with expiration needs updating (maybe)</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="2">Won&apos;t Fix</resolution>
                    <security id="10011">Public</security>
                        <assignee username="trond">Trond Norbye</assignee>
                                <reporter username="mnunberg">Mark Nunberg</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Dec 2012 13:48:01 -0600</created>
                <updated>Tue, 16 Apr 2013 02:06:32 -0500</updated>
                    <resolved>Tue, 16 Apr 2013 02:06:32 -0500</resolved>
                                                            <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="45311" author="ingenthr" created="Mon, 3 Dec 2012 23:14:25 -0600"  >Given that using an expiration of 0 means &amp;quot;forever&amp;quot;, I would think a touch of 0 would extend the time to forever.&lt;br/&gt;
&lt;br/&gt;
In fact, the documentation says that:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-devguide-2.0/cb-touch.html&quot;&gt;http://www.couchbase.com/docs/couchbase-devguide-2.0/cb-touch.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Trond: can you verify we do the right thing here?</comment>
                    <comment id="45312" author="ingenthr" created="Mon, 3 Dec 2012 23:15:50 -0600"  >See also a commit in limbo:&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.org/#/c/21848/&quot;&gt;http://review.couchbase.org/#/c/21848/&lt;/a&gt;</comment>
                    <comment id="45316" author="trond" created="Tue, 4 Dec 2012 03:05:07 -0600"  >This is not a bug in the PHP extension, but a bug in the server. I filed &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7342&quot; title=&quot;Touch with expiry time 0 does not work&quot;&gt;&lt;strike&gt;MB-7342&lt;/strike&gt;&lt;/a&gt; for the issue.</comment>
                    <comment id="45329" author="ingenthr" created="Tue, 4 Dec 2012 10:06:49 -0600"  >Thanks for getting that addressed Trond.</comment>
                    <comment id="46343" author="ingenthr" created="Wed, 19 Dec 2012 12:33:53 -0600"  >The underlying question on this test has been resolved.  There was a server bug and a touch with expiration of 0 should not return an error, but should rather extend it from whatever the current time is to forever.&lt;br/&gt;
&lt;br/&gt;
A good functional test would be:&lt;br/&gt;
- Set with expiration of 3 secs&lt;br/&gt;
- Touch with expiration of 0&lt;br/&gt;
- Check 3 secs later to see if it&amp;#39;s still there.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="55109" author="ingenthr" created="Mon, 15 Apr 2013 23:57:50 -0500"  >Trond: can you review what, if anything more, needs to be done here?  I think it&amp;#39;s closeable.</comment>
                    <comment id="55115" author="trond" created="Tue, 16 Apr 2013 02:06:32 -0500"  >I verified that this worked as intended in a test program. I don&amp;#39;t want to add more tests than necessary to the test suite that does sleep, and this test is not testing the client but verifies the server and should therefore be done elsewhere...</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9758</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>