<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Thu May 23 15:24: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/MB-6620/MB-6620.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>[MB-6620] Preview Random Document in the View tab doesn&apos;t show the actual values for rev, expiration, flags</title>
                <link>http://www.couchbase.com/issues/browse/MB-6620</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>build-1710&lt;br/&gt;
&lt;br/&gt;
case could be simple, for instance, on python:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for i in xrange(self.num_docs):&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pref = str(i)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.docs[&amp;quot;id&amp;quot; + pref] = &amp;quot;value&amp;quot;*100 + pref&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for doc in self.docs:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.awareness.set(doc, int(self.expiration), 0, self.docs[doc])&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for i in xrange(self.num_docs):&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pref = str(i)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.docs[&amp;quot;id&amp;quot; + pref] = &amp;quot;value&amp;quot;*10 + pref&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for doc in self.docs:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.awareness.set(doc, int(self.expiration), 0, self.docs[doc])&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
create view, and using Preview Random Document feature we can see metaInfo in which values for rev, expiration, flags are not changed at all&lt;br/&gt;
&lt;br/&gt;
{&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;id&amp;quot;: &amp;quot;test_docs-529&amp;quot;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;rev&amp;quot;: &amp;quot;1-00000000000000000000000000000000&amp;quot;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;att_reason&amp;quot;: &amp;quot;invalid_key&amp;quot;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;expiration&amp;quot;: 0,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;flags&amp;quot;: 0,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;type&amp;quot;: &amp;quot;base64&amp;quot;&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
are there any reasons why it works that way so far?&lt;br/&gt;
</description>
                <environment></environment>
            <key id="19712">MB-6620</key>
            <summary>Preview Random Document in the View tab doesn&apos;t show the actual values for rev, expiration, flags</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="Iryna">Iryna Mironava</assignee>
                                <reporter username="andreibaranouski">Andrei Baranouski</reporter>
                        <labels>
                        <label>2.0-beta-release-notes</label>
                    </labels>
                <created>Wed, 12 Sep 2012 12:57:29 -0500</created>
                <updated>Tue, 23 Oct 2012 06:08:57 -0500</updated>
                    <resolved>Thu, 11 Oct 2012 17:33:53 -0500</resolved>
                            <version>2.0</version>
                                <fixVersion>2.0</fixVersion>
                                <component>UI</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="38620" author="alkondratenko" created="Wed, 12 Sep 2012 13:17:09 -0500"  >Seen this too.&lt;br/&gt;
&lt;br/&gt;
This is actually some couch_doc bug. Will fix as part of fixing this entire area</comment>
                    <comment id="40714" author="alkondratenko" created="Mon, 8 Oct 2012 18:02:15 -0500"  >I was planning to &amp;quot;fix&amp;quot; this as part of CAPI CRUD rewrite, but apparently I&amp;#39;ll have to fix it inside existing implementation. I.e. because document editing refactoring work is not approved for 2.0 anymore.</comment>
                    <comment id="41189" author="alkondratenko" created="Thu, 11 Oct 2012 17:33:53 -0500"  >&lt;a href=&quot;http://review.couchbase.org/#/c/21496/&quot;&gt;http://review.couchbase.org/#/c/21496/&lt;/a&gt;</comment>
                    <comment id="42246" author="Iryna" created="Tue, 23 Oct 2012 06:08:57 -0500"  >verified with build-1884</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 12 Sep 2012 13:17:09 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>4000</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>