<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:13:13 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-1751] mongoc_collection_find_with_opts() should return error if collation specified and connection does not support read commands</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1751</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;mongoc_collection_find_with_opts() should return an error to the user if a collation is specified and the server does not support read commands.  Currently, no error is returned to the user, and the collation is passed to the server with the invalid query modifier &quot;$collation&quot; (which is ignored by the server).  Tested with libmongoc 1.5.0-rc2 against server version 2.6.12.&lt;/p&gt;

&lt;p&gt;Relevant excerpt from the &lt;a href=&quot;https://github.com/mongodb/specifications/blob/9709b0e3981430335d0085c3b3545b5329124d7d/source/collation/collation.rst#drivers-throw-an-error-if-a-user-supplies-collation-and-the-selected-server-does-not-support-the-feature&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;collation spec&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Drivers therefore MUST throw an error if a user specifies a Collation and the selected server has a maxWireVersion &amp;lt; 5 or if using opcode-based unacknowledged writes.&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="324394">CDRIVER-1751</key>
            <summary>mongoc_collection_find_with_opts() should return error if collation specified and connection does not support read commands</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="bjori">Hannes Magnusson</assignee>
                                    <reporter username="rassi">J Rassi</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Oct 2016 23:51:48 +0000</created>
                <updated>Tue, 15 Nov 2016 23:59:45 +0000</updated>
                            <resolved>Fri, 28 Oct 2016 18:26:07 +0000</resolved>
                                                    <fixVersion>1.5.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1422946" author="xgen-internal-githook" created="Tue, 1 Nov 2016 15:10:42 +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-1751&quot; title=&quot;mongoc_collection_find_with_opts() should return error if collation specified and connection does not support read commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1751&quot;&gt;&lt;del&gt;CDRIVER-1751&lt;/del&gt;&lt;/a&gt; fix merge error in collation test&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/7ebc93a2e71134af81750bc82902a5c9e0913d11&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/7ebc93a2e71134af81750bc82902a5c9e0913d11&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1420857" author="xgen-internal-githook" created="Fri, 28 Oct 2016 18:16:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1751&quot; title=&quot;mongoc_collection_find_with_opts() should return error if collation specified and connection does not support read commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1751&quot;&gt;&lt;del&gt;CDRIVER-1751&lt;/del&gt;&lt;/a&gt;: Error client side when find doesn&apos;t support collation&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/3b0d74ff951d559791fd4715e7cf263f6993c5c8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/3b0d74ff951d559791fd4715e7cf263f6993c5c8&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="300442">CXX-971</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="332145">CXX-1132</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="314226">CDRIVER-1522</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="324586">CDRIVER-1779</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|hsqxov:</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>