<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:25 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-639] CollectionStatsResult.MaxDocuments throws an InavlidCastException for capped collections</title>
                <link>https://jira.mongodb.org/browse/CSHARP-639</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;The driver is expecting the server to return MaxDocuments as an Int32, but it&apos;s actually being returned as a Double, which is causing an InvalidCastException.&lt;/p&gt;

&lt;p&gt;Make the driver able to deal with MaxDocuments returned as any numeric type (by calling ToInt32 instead of AsInt32).&lt;/p&gt;</description>
                <environment></environment>
        <key id="58558">CSHARP-639</key>
            <summary>CollectionStatsResult.MaxDocuments throws an InavlidCastException for capped collections</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="robert@mongodb.com">Robert Stam</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Dec 2012 22:53:29 +0000</created>
                <updated>Thu, 20 Mar 2014 14:36:08 +0000</updated>
                            <resolved>Sat, 8 Dec 2012 00:00:33 +0000</resolved>
                                    <version>1.7</version>
                                    <fixVersion>1.8</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="211441" author="auto" created="Mon, 10 Dec 2012 20:53:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-12-07T04:30:48Z&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;, u&apos;name&apos;: u&apos;rstam&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-639&quot; title=&quot;CollectionStatsResult.MaxDocuments throws an InavlidCastException for capped collections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-639&quot;&gt;&lt;del&gt;CSHARP-639&lt;/del&gt;&lt;/a&gt;: Use ToInt32 instead of AsInt32 to make the driver be more tolerant of the server returning numeric values using different types.&lt;/p&gt;

&lt;p&gt;Conflicts:&lt;br/&gt;
	MongoDB.Driver/CommandResults/CollectionStatsResult.cs&lt;br/&gt;
Branch: x2.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/3f9496165b486edcbf88eb65364a330b2abc24de&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/3f9496165b486edcbf88eb65364a330b2abc24de&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="209436" author="rstam" created="Sat, 8 Dec 2012 00:00:43 +0000"  >&lt;p&gt;Pushed to master.&lt;/p&gt;</comment>
                            <comment id="209434" author="auto" created="Fri, 7 Dec 2012 23:59:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-12-07T04:30:48Z&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;, u&apos;name&apos;: u&apos;rstam&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-639&quot; title=&quot;CollectionStatsResult.MaxDocuments throws an InavlidCastException for capped collections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-639&quot;&gt;&lt;del&gt;CSHARP-639&lt;/del&gt;&lt;/a&gt;: Use ToInt32 instead of AsInt32 to make the driver be more tolerant of the server returning numeric values using different types.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/4f1050fe7b0a97bfa4aeee4f0a90a0f2afea5306&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/4f1050fe7b0a97bfa4aeee4f0a90a0f2afea5306&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="62684">CSHARP-665</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|hrky47:</customfieldvalue>

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