<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:18:41 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-3661] Documented differences between error API v1 and API v2 are incomplete</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-3661</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;The &lt;a href=&quot;http://mongoc.org/libmongoc/current/errors.html#setting-the-error-api-version&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Error Reporting&lt;/a&gt; page documents the differences between error API V1 and V2, including a table of the error domain in V1 and corresponding error domain in V2.&lt;/p&gt;

&lt;p&gt;The paragraph says:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The driver&#8217;s error reporting began with a design flaw: when the error domain is MONGOC_ERROR_COLLECTION, MONGOC_ERROR_QUERY, or MONGOC_ERROR_COMMAND, the error code might originate from the server or the driver.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;But the table does not have an entry for MONGOC_ERROR_COLLECTION. I think that is either missing, or the row for  &lt;tt&gt;mongoc_collection_insert_one()&lt;/tt&gt; and the other collection write functions is incorrectly documented.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1344597">CDRIVER-3661</key>
            <summary>Documented differences between error API v1 and API v2 are incomplete</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="13202">Works as Designed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 May 2020 14:13:42 +0000</created>
                <updated>Fri, 27 Oct 2023 13:14:09 +0000</updated>
                            <resolved>Fri, 12 May 2023 13:57:52 +0000</resolved>
                                                                    <component>docs</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5420591" author="kevin.albertson" created="Fri, 12 May 2023 13:57:52 +0000"  >&lt;p&gt;The &lt;tt&gt;MONGOC_ERROR_COLLECTION&lt;/tt&gt; appears to only be returned for client-side errors. The only found instance of returning &lt;tt&gt;MONGOC_ERROR_COLLECTION&lt;/tt&gt; is in &lt;span class=&quot;error&quot;&gt;&amp;#91;_empty_error&amp;#93;&lt;/span&gt;(&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/69caa27f216f59d116f3dd6e64584f746820d7b4/src/libmongoc/src/mongoc/mongoc-write-command.c#L362-L374&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/blob/69caa27f216f59d116f3dd6e64584f746820d7b4/src/libmongoc/src/mongoc/mongoc-write-command.c#L362-L374&lt;/a&gt;) which is only called for a client-side check of a non-empty payload length before sending a write command.&lt;/p&gt;

&lt;p&gt;The documentation appears to be correct. Closing as &quot;Works as Designed&quot;.&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_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q2</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hx7m3r:</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>