<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:08:36 UTC 2024

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 append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-153] Iterate empty BSON</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-153</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;The following will create an error:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Initialize a bson&lt;/li&gt;
	&lt;li&gt;Finish it (without appending anything)&lt;/li&gt;
	&lt;li&gt;Iterate through it&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="42454">CDRIVER-153</key>
            <summary>Iterate empty BSON</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="gjmurakami">Gary Murakami</assignee>
                                    <reporter username="illishar">Morten Kvistgaard</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 Jun 2012 10:59:09 +0000</created>
                <updated>Wed, 3 May 2017 22:14:31 +0000</updated>
                            <resolved>Wed, 1 Aug 2012 15:50:11 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="149496" author="gjmurakami" created="Wed, 1 Aug 2012 15:50:11 +0000"  >&lt;p&gt;Resolving this, please reopen with more details if there is any remaining issue.&lt;/p&gt;</comment>
                            <comment id="148419" author="gjmurakami" created="Sat, 28 Jul 2012 07:06:00 +0000"  >&lt;p&gt;With what release version of the driver or git commit do you have this problem.  The following test (fragment) works for me circa 0.6.&lt;/p&gt;

&lt;p&gt;    bson_init( b );&lt;br/&gt;
    bson_finish( b );&lt;br/&gt;
    bson_iterator_init( i, b );&lt;br/&gt;
    ret = bson_iterator_more( i );&lt;br/&gt;
    printf(&quot;test_bson_iterator bson_iterator_more returns:%d\n&quot;, ret);&lt;br/&gt;
    ret = bson_iterator_next( i );&lt;br/&gt;
    printf(&quot;test_bson_iterator bson_iterator_next returns:%d\n&quot;, ret);&lt;br/&gt;
    ret = bson_iterator_type( i );&lt;br/&gt;
    printf(&quot;test_bson_iterator bson_iterator_type returns:%d\n&quot;, ret);&lt;br/&gt;
    bson_destroy( b );&lt;/p&gt;

&lt;p&gt;output&lt;br/&gt;
------&lt;br/&gt;
test_bson_iterator bson_iterator_more returns:0&lt;br/&gt;
test_bson_iterator bson_iterator_next returns:0&lt;br/&gt;
test_bson_iterator bson_iterator_type returns:0&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrh6f3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13839</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>