<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:26:52 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>[EF-84] Filtering on properties in subdocuments causes InvalidOperationException</title>
                <link>https://jira.mongodb.org/browse/EF-84</link>
                <project id="22583" key="EF">Entity Framework</project>
                    <description>&lt;p&gt;Steps:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Create an entity with a subdocument&lt;/li&gt;
	&lt;li&gt;Query on a field in that entity&lt;/li&gt;
	&lt;li&gt;Exception with serialization error thrown&lt;/li&gt;
	&lt;li&gt;Note: Querying on fields in parent document works as expected&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Minimal Repro:&lt;/p&gt;

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

&lt;p&gt;Call Stack:&lt;/p&gt;

&lt;p&gt;Unhandled exception. System.InvalidOperationException: Serializer for NestedDocumentTest does not have a member named NestedItem.&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Misc.DocumentSerializerHelper.GetMemberSerializationInfo(IBsonSerializer serializer, String memberName)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToAggregationExpressionTranslators.MemberExpressionToAggregationExpressionTranslator.Translate(TranslationContext context, MemberExpression expression)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToAggregationExpressionTranslators.ExpressionToAggregationExpressionTranslator.Translate(TranslationContext context, Expression expression)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToAggregationExpressionTranslators.MemberExpressionToAggregationExpressionTranslator.Translate(TranslationContext context, MemberExpression expression)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToAggregationExpressionTranslators.ExpressionToAggregationExpressionTranslator.Translate(TranslationContext context, Expression expression)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToAggregationExpressionTranslators.BinaryExpressionToAggregationExpressionTranslator.Translate(TranslationContext context, BinaryExpression expression)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToAggregationExpressionTranslators.ExpressionToAggregationExpressionTranslator.Translate(TranslationContext context, Expression expression)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToFilterTranslators.ExpressionToFilterTranslator.TranslateUsingAggregationOperators(TranslationContext context, Expression expression)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToFilterTranslators.ExpressionToFilterTranslator.Translate(TranslationContext context, Expression expression, Boolean exprOk)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToFilterTranslators.ExpressionToFilterTranslator.TranslateLambda(TranslationContext context, LambdaExpression lambdaExpression, IBsonSerializer parameterSerializer, Boolean asRoot)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToPipelineTranslators.WhereMethodToPipelineTranslator.Translate(TranslationContext context, MethodCallExpression expression)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToPipelineTranslators.ExpressionToPipelineTranslator.Translate(TranslationContext context, Expression expression)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToPipelineTranslators.SelectMethodToPipelineTranslator.Translate(TranslationContext context, MethodCallExpression expression)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToPipelineTranslators.ExpressionToPipelineTranslator.Translate(TranslationContext context, Expression expression)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToPipelineTranslators.AsMethodToPipelineTranslator.Translate(TranslationContext context, MethodCallExpression expression)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToPipelineTranslators.ExpressionToPipelineTranslator.Translate(TranslationContext context, Expression expression)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.Translators.ExpressionToExecutableQueryTranslators.ExpressionToExecutableQueryTranslator.Translate&lt;span class=&quot;error&quot;&gt;&amp;#91;TDocument,TOutput&amp;#93;&lt;/span&gt;(MongoQueryProvider`1 provider, Expression expression)&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.MongoQuery`2.Execute()&lt;br/&gt;
&#160; &#160;at MongoDB.Driver.Linq.Linq3Implementation.MongoQuery`2.GetEnumerator()&lt;br/&gt;
&#160; &#160;at MongoDB.EntityFrameworkCore.Query.QueryingEnumerable`2.Enumerator.MoveNextHelper()&lt;br/&gt;
&#160; &#160;at MongoDB.EntityFrameworkCore.Query.QueryingEnumerable`2.Enumerator.MoveNext()&lt;br/&gt;
&#160; &#160;at MongoDB.Bson.Serialization.Serializers.EnumerableSerializerBase`2.Serialize(BsonSerializationContext context, BsonSerializationArgs args, TValue value)&lt;br/&gt;
&#160; &#160;at MongoDB.Bson.Serialization.Serializers.DiscriminatedWrapperSerializer`1.Serialize(BsonSerializationContext context, BsonSerializationArgs args, TValue value)&lt;br/&gt;
&#160; &#160;at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Serialize&lt;span class=&quot;error&quot;&gt;&amp;#91;TValue&amp;#93;&lt;/span&gt;(IBsonSerializer`1 serializer, BsonSerializationContext context, TValue value)&lt;br/&gt;
&#160; &#160;at MongoDB.Bson.Serialization.Serializers.EnumerableSerializerBase`2.Serialize(BsonSerializationContext context, BsonSerializationArgs args, TValue value)&lt;br/&gt;
&#160; &#160;at MongoDB.Bson.Serialization.Serializers.SerializerBase`1.MongoDB.Bson.Serialization.IBsonSerializer.Serialize(BsonSerializationContext context, BsonSerializationArgs args, Object value)&lt;br/&gt;
&#160; &#160;at MongoDB.Bson.BsonExtensionMethods.ToJson(Object obj, Type nominalType, JsonWriterSettings writerSettings, IBsonSerializer serializer, Action`1 configurator, BsonSerializationArgs args)&lt;br/&gt;
&#160; &#160;at MongoDB.Bson.BsonExtensionMethods.ToJson&lt;span class=&quot;error&quot;&gt;&amp;#91;TNominalType&amp;#93;&lt;/span&gt;(TNominalType obj, JsonWriterSettings writerSettings, IBsonSerializer`1 serializer, Action`1 configurator, BsonSerializationArgs args)&lt;br/&gt;
&#160; &#160;at Program.&amp;lt;Main&amp;gt;$(String[] args) in C:\Users\sbrophy\source\repos\QueryOnSubdocumentMember\QueryOnSubdocumentMember\Program.cs:line 28&lt;/p&gt;</description>
                <environment></environment>
        <key id="2508465">EF-84</key>
            <summary>Filtering on properties in subdocuments causes InvalidOperationException</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="13201">Fixed</resolution>
                                        <assignee username="damien.guard@mongodb.com">Damien Guard</assignee>
                                    <reporter username="sbrophy@raincityhousing.org">Sean Brophy</reporter>
                        <labels>
                    </labels>
                <created>Fri, 24 Nov 2023 00:22:57 +0000</created>
                <updated>Tue, 5 Dec 2023 13:10:41 +0000</updated>
                            <resolved>Tue, 5 Dec 2023 13:10:41 +0000</resolved>
                                    <version>Public Preview 1</version>
                                    <fixVersion>GA 1</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="5915882" author="JIRAUSER1273673" created="Thu, 30 Nov 2023 16:13:27 +0000"  >&lt;p&gt;Hi, thanks for your report.&lt;/p&gt;

&lt;p&gt;We can confirm this is an issue with the current preview release of the provider and it will be addressed in a subsequent update.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_23812" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Assigned Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26445"><![CDATA[Dotnet Drivers]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <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|i2jn0k:</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>