<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:08:37 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-154] Appending empty string key with bson_append_element</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-154</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;call bson_append_element with name_or_null parameter = &quot;&quot;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The &quot;&quot; will cause it to fall through to the &quot;not null&quot; part ... and create an error.&lt;/p&gt;</description>
                <environment></environment>
        <key id="42455">CDRIVER-154</key>
            <summary>Appending empty string key with bson_append_element</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 11:02:40 +0000</created>
                <updated>Wed, 3 May 2017 22:15:02 +0000</updated>
                            <resolved>Wed, 1 Aug 2012 15:49:20 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="149495" author="gjmurakami" created="Wed, 1 Aug 2012 15:49:20 +0000"  >&lt;p&gt;I&apos;m resolving this, please reopen with details if there is any remaining issue.&lt;/p&gt;</comment>
                            <comment id="148989" author="auto" created="Tue, 31 Jul 2012 11:14:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-07-31T04:13:49-07:00&apos;, u&apos;email&apos;: u&apos;gary.murakami@10gen.com&apos;, u&apos;name&apos;: u&apos;Gary Murakami&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-154&quot; title=&quot;Appending empty string key with bson_append_element&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-154&quot;&gt;&lt;del&gt;CDRIVER-154&lt;/del&gt;&lt;/a&gt; Appending empty string key with bson_append_element&lt;br/&gt;
pedantic comments&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/247c7cebfe475f20ce49be59b4b88b6ff7c47206&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/247c7cebfe475f20ce49be59b4b88b6ff7c47206&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="148855" author="auto" created="Mon, 30 Jul 2012 21:05:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-07-30T14:04:37-07:00&apos;, u&apos;email&apos;: u&apos;gary.murakami@10gen.com&apos;, u&apos;name&apos;: u&apos;Gary Murakami&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-154&quot; title=&quot;Appending empty string key with bson_append_element&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-154&quot;&gt;&lt;del&gt;CDRIVER-154&lt;/del&gt;&lt;/a&gt; Appending empty string key with bson_append_element&lt;br/&gt;
tests for bson_append_element - there were none before this&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/6b661c18695f2979da4a874821d2d10f99ee7388&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/6b661c18695f2979da4a874821d2d10f99ee7388&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="148852" author="gjmurakami" created="Mon, 30 Jul 2012 20:52:48 +0000"  >&lt;p&gt;Morten:&lt;/p&gt;

&lt;p&gt;An empty string is valid for a field name.  In my tests, I don&apos;t experience an &quot;error&quot; when passing name_or_null parameter with value &quot;&quot;.&lt;br/&gt;
This is with a current github clone.  With what version do you get an error?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;-Gary&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|hrh6ev:</customfieldvalue>

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