<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:49:03 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-4693] oDATA $matchesPattern support with LINQ3</title>
                <link>https://jira.mongodb.org/browse/CSHARP-4693</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;h4&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;Summary&lt;/h4&gt;

&lt;p&gt;MongoDB.Driver.Linq.ExpressionNotSupportedException&lt;br/&gt;
&#160; HResult=0x80131515&lt;br/&gt;
&#160; Message=Expression not supported: (IIF((Convert($it.Gene, String) == null), null, Convert(IsMatch(Convert($it.Gene, String), &quot;(^|\;)KIR2DL2(\;|$)&quot;, ECMAScript), Nullable`1)) == True).&lt;br/&gt;
&#160; Source=MongoDB.Driver&lt;br/&gt;
&#160; StackTrace:&#160;&lt;br/&gt;
&#160; &#160;&#26044; MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToFilterTranslators.MethodTranslators.StringExpressionToRegexFilterTranslator.TranslateComparisonExpression(TranslationContext context, Expression expression, Expression leftExpression, AstComparisonFilterOperator comparisonOperator, Expression rightExpression) &#22312; /_/src/MongoDB.Driver/Linq/Linq3Implementation/Translators/ExpressionToFilterTranslators/ExpressionTranslators/StringExpressionToRegexFilterTranslator.cs:&#34892; 305 &#20013;&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Pleaseprovidetheversionofthedriver.Ifapplicable%2CpleaseprovidetheMongoDBserverversionandtopology%28standalone%2Creplicaset%2Corshardedcluster%29.&quot;&gt;&lt;/a&gt;Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).&lt;/h4&gt;

&lt;p&gt;&quot;Microsoft.AspNetCore.OData&quot; Version=&quot;8.0.12&quot;&lt;/p&gt;

&lt;p&gt;&quot;MongoDB.Driver&quot; Version=&quot;2.20.0&quot;&lt;/p&gt;

&lt;p&gt;MongoDB 5.0.6 Community&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;HowtoReproduce&quot;&gt;&lt;/a&gt;How to Reproduce&lt;/h4&gt;

&lt;p&gt;&lt;a href=&quot;http://localhost:5163/odata/Analysis/Detail?$filter=matchesPattern(Gene,&amp;#39;(&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:5163/odata/Analysis/Detail?$filter=matchesPattern(Gene,&apos;(&lt;/a&gt;^|\;)KIR2DL2(\;|$)&apos;)&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;AdditionalBackground&quot;&gt;&lt;/a&gt;Additional Background&lt;/h4&gt;

&lt;p&gt;expression debug view&lt;br/&gt;
.If ((System.String)$$it.Gene == null) &lt;/p&gt;
{
&#160; &#160; null
}
&lt;p&gt; .Else &lt;/p&gt;
{
&#160; &#160; (System.Nullable`1[System.Boolean]).Call System.Text.RegularExpressions.Regex.IsMatch(
&#160; &#160; &#160; &#160; (System.String)$$it.Gene,
&#160; &#160; &#160; &#160; &quot;(^|\;)KIR2DL2(\;|$)&quot;,
&#160; &#160; &#160; &#160; .Constant&amp;lt;System.Text.RegularExpressions.RegexOptions&amp;gt;(ECMAScript))
}
&lt;p&gt; == .Constant&amp;lt;System.Nullable`1&lt;span class=&quot;error&quot;&gt;&amp;#91;System.Boolean&amp;#93;&lt;/span&gt;&amp;gt;(True)&lt;/p&gt;</description>
                <environment></environment>
        <key id="2377812">CSHARP-4693</key>
            <summary>oDATA $matchesPattern support with LINQ3</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="3">Duplicate</resolution>
                                        <assignee username="oleksandr.poliakov@mongodb.com">Oleksandr Poliakov</assignee>
                                    <reporter username="fo40225@hotmail.com">Ching Hsu</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Jun 2023 04:21:08 +0000</created>
                <updated>Tue, 4 Jul 2023 19:52:00 +0000</updated>
                            <resolved>Tue, 4 Jul 2023 19:51:59 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5543096" author="JIRAUSER1273473" created="Tue, 4 Jul 2023 19:52:00 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=fo40225%40hotmail.com&quot; class=&quot;user-hover&quot; rel=&quot;fo40225@hotmail.com&quot;&gt;fo40225@hotmail.com&lt;/a&gt; ,&lt;/p&gt;

&lt;p&gt;This issue was already fixed in scope of &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4698&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/CSHARP-4698&lt;/a&gt; the fix will be available in the nearest build.&lt;/p&gt;

&lt;p&gt;I&apos;ll close the ticket as duplicate, you can reference to the ticket above to check the progress.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

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

&lt;p&gt;Oleksandr&lt;/p&gt;</comment>
                            <comment id="5526704" author="dbeng-pm-bot" created="Tue, 27 Jun 2023 04:21:11 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=fo40225%40hotmail.com&quot; class=&quot;user-hover&quot; rel=&quot;fo40225@hotmail.com&quot;&gt;fo40225@hotmail.com&lt;/a&gt;, thank you for reporting this issue! The team will look into it and get back to you soon. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="2378611">CSHARP-4698</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1.  What would you like to communicate to the user about this feature?&lt;br/&gt;
2.  Would you like the user to see examples of the syntax and/or executable code and its output?&lt;br/&gt;
3.  Which versions of the driver/connector does this apply to?&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1xols:</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>