<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:43 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>[CSHARP-752] Inconsistent function\boolean handling in Linq queries</title>
                <link>https://jira.mongodb.org/browse/CSHARP-752</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;It seems like although the QueryTranslator works as intended, there is a problem with the Serialization Info finder when trying to process the following:&lt;/p&gt;

&lt;p&gt;strongResult = strongCollection.Where(o =&amp;gt; o.Name.StartsWith(&quot;Sat&quot;) == true).ToList();&lt;/p&gt;

&lt;p&gt;If we omit the == true part, then the query works:&lt;/p&gt;

&lt;p&gt;strongResult = strongCollection.Where(o =&amp;gt; o.Name.StartsWith(&quot;Sat&quot;)).ToList();&lt;/p&gt;


&lt;p&gt;Integration tests reproducing the problem can be found here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/Roysvork/MongoDbStartsWithBugTest&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/Roysvork/MongoDbStartsWithBugTest&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You must have an instance of MongoDb running on localhost with the default port for the tests to run, of course this can be changed easily&lt;/p&gt;</description>
                <environment>Windows, C#, .Net 4.5, Visual Studio 2012</environment>
        <key id="78096">CSHARP-752</key>
            <summary>Inconsistent function\boolean handling in Linq queries</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="craig.wilson@mongodb.com">Craig Wilson</assignee>
                                    <reporter username="roysvork">Pete Smith</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Jun 2013 11:04:04 +0000</created>
                <updated>Thu, 2 Apr 2015 18:27:36 +0000</updated>
                            <resolved>Tue, 27 Aug 2013 14:51:31 +0000</resolved>
                                    <version>1.8.1</version>
                                    <fixVersion>1.9</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="412256" author="auto" created="Tue, 27 Aug 2013 14:50:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;Roysvork&apos;, u&apos;name&apos;: u&apos;Pete Smith&apos;, u&apos;email&apos;: u&apos;roysvork@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-752&quot; title=&quot;Inconsistent function\boolean handling in Linq queries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-752&quot;&gt;&lt;del&gt;CSHARP-752&lt;/del&gt;&lt;/a&gt;: Method calls that evaluate to booleans can now be the subject of comparison queries in Linq.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/0d346339d12fafd2faa9c0c87ca2bacc0ba44c55&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/0d346339d12fafd2faa9c0c87ca2bacc0ba44c55&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="371899" author="sridhar" created="Mon, 1 Jul 2013 19:12:53 +0000"  >&lt;p&gt;Reducing priority to Major since there is a simple workaround as illustrated in the description&lt;/p&gt;</comment>
                            <comment id="358727" author="craiggwilson" created="Wed, 12 Jun 2013 16:06:23 +0000"  >&lt;p&gt;Thanks for the report.  We&apos;ll take a look.&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|hrr04n:</customfieldvalue>

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