<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:42:50 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-2541] when using inherentence of classes and hiding class members a serialization exception occurs with duplicate property name</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2541</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;if you have nested classes that need to be overriden you normally will use the keyword new to hide base properties. But if you do that the serializer complains about duplicate property names. The message it gives is correct but in the supplied case this is not a problem but the intention todo so. Sample and details are in stackoverflow&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/55069966/bson-does-not-serialize-with-new-overridden-attributes-and-reports-duplicate-u?noredirect=1#comment96887834_55069966&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://stackoverflow.com/questions/55069966/bson-does-not-serialize-with-new-overridden-attributes-and-reports-duplicate-u&lt;/a&gt;&lt;/p&gt;</description>
                <environment>c#, windows, server running mongo atlas</environment>
        <key id="714101">CSHARP-2541</key>
            <summary>when using inherentence of classes and hiding class members a serialization exception occurs with duplicate property name</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="13202">Works as Designed</resolution>
                                        <assignee username="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="martien.poels_cashflows.com">Martien Poels</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Mar 2019 22:10:27 +0000</created>
                <updated>Fri, 27 Oct 2023 13:24:58 +0000</updated>
                            <resolved>Tue, 19 Mar 2019 16:59:58 +0000</resolved>
                                    <version>2.7.3</version>
                                                    <component>BSON</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2185076" author="rstam" created="Tue, 19 Mar 2019 16:59:45 +0000"  >&lt;p&gt;See the comments on &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2549&quot; title=&quot;Shadowing/Hidden properties causing BsonSerializationException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2549&quot;&gt;&lt;del&gt;CSHARP-2549&lt;/del&gt;&lt;/a&gt; for why we don&apos;t support this.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="717604">CSHARP-2549</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|hug0bb:</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>