<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:13:31 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-1888] mock server should abort when it detects duplicate BSON fields</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1888</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;We&apos;d have caught &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1871&quot; title=&quot;Duplicated readConcern and writeConcern in commands when applying defaults&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1871&quot;&gt;&lt;del&gt;CDRIVER-1871&lt;/del&gt;&lt;/a&gt; and a few other bugs if the mock server always aborted when the client sent it a BSON document containing multiple values for the same key.&lt;/p&gt;</description>
                <environment></environment>
        <key id="327707">CDRIVER-1888</key>
            <summary>mock server should abort when it detects duplicate BSON fields</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Fri, 28 Oct 2016 18:35:23 +0000</created>
                <updated>Tue, 9 Jan 2018 22:18:01 +0000</updated>
                            <resolved>Mon, 30 Oct 2017 19:54:14 +0000</resolved>
                                                    <fixVersion>1.9.0</fixVersion>
                                    <component>libmongoc</component>
                    <component>tests</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1769679" author="xgen-internal-githook" created="Tue, 9 Jan 2018 22:18:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1888&quot; title=&quot;mock server should abort when it detects duplicate BSON fields&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1888&quot;&gt;&lt;del&gt;CDRIVER-1888&lt;/del&gt;&lt;/a&gt; test for duplicate fields in subdocs&lt;/p&gt;

&lt;p&gt;The mock server aborts if it detects the client has sent it a command&lt;br/&gt;
with duplicate field names, to catch a common type of subtle bug. Now,&lt;br/&gt;
it also recursively checks subdocuments.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/77aaccca430d22df0f80832186faf6dddc10e235&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/77aaccca430d22df0f80832186faf6dddc10e235&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1713390" author="xgen-internal-githook" created="Tue, 31 Oct 2017 13:40:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1888&quot; title=&quot;mock server should abort when it detects duplicate BSON fields&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1888&quot;&gt;&lt;del&gt;CDRIVER-1888&lt;/del&gt;&lt;/a&gt; mock server detects duplicate keys, try 2&lt;/p&gt;

&lt;p&gt;This reverts commit 5d880a361719df91aa5414418ee61ddcaba5a0b2.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/c5c487c53345cacb1ddcbc56646d92680df2f71b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/c5c487c53345cacb1ddcbc56646d92680df2f71b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1712906" author="jesse" created="Mon, 30 Oct 2017 19:54:14 +0000"  >&lt;p&gt;Fixed, now that sessions, $clusterTime, and OP_MSG work has fixed the duplicate-field issues.&lt;/p&gt;</comment>
                            <comment id="1629342" author="jesse" created="Sat, 22 Jul 2017 16:40:57 +0000"  >&lt;p&gt;Test fails at the moment.&lt;/p&gt;</comment>
                            <comment id="1629341" author="xgen-internal-githook" created="Sat, 22 Jul 2017 16:40:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1888&quot; title=&quot;mock server should abort when it detects duplicate BSON fields&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1888&quot;&gt;&lt;del&gt;CDRIVER-1888&lt;/del&gt;&lt;/a&gt; mock server detects duplicate keys&quot;&lt;/p&gt;

&lt;p&gt;83f47385e67ce7cc691699b8145452e10cb5bf0c&lt;/p&gt;

&lt;p&gt;Test fails at the moment.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5d880a361719df91aa5414418ee61ddcaba5a0b2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5d880a361719df91aa5414418ee61ddcaba5a0b2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1629040" author="xgen-internal-githook" created="Fri, 21 Jul 2017 19:33:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1888&quot; title=&quot;mock server should abort when it detects duplicate BSON fields&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1888&quot;&gt;&lt;del&gt;CDRIVER-1888&lt;/del&gt;&lt;/a&gt; mock server detects duplicate keys&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/83f47385e67ce7cc691699b8145452e10cb5bf0c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/83f47385e67ce7cc691699b8145452e10cb5bf0c&lt;/a&gt;&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|hrf7rz:</customfieldvalue>

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