<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:20 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-610] FormatException message in MongoServerAddress.Parse</title>
                <link>https://jira.mongodb.org/browse/CSHARP-610</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;The message to FormatException uses a string &quot;formatter&quot; but fails to call String.Format and provide the parameter value.&lt;/p&gt;</description>
                <environment></environment>
        <key id="53978">CSHARP-610</key>
            <summary>FormatException message in MongoServerAddress.Parse</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</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="nkolev">Nik Kolev</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 Oct 2012 22:27:52 +0000</created>
                <updated>Thu, 20 Mar 2014 14:35:52 +0000</updated>
                            <resolved>Sun, 4 Nov 2012 17:19:40 +0000</resolved>
                                    <version>1.6</version>
                                    <fixVersion>1.7</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="183123" author="auto" created="Tue, 6 Nov 2012 18:00:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-11-02T20:43:15Z&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-610&quot; title=&quot;FormatException message in MongoServerAddress.Parse&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-610&quot;&gt;&lt;del&gt;CSHARP-610&lt;/del&gt;&lt;/a&gt;: merged pull request 134 and added more unit tests.&lt;br/&gt;
Branch: x2.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/e01118a77435cd9a2d851bef5c49fcfb98319824&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/e01118a77435cd9a2d851bef5c49fcfb98319824&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="183122" author="auto" created="Tue, 6 Nov 2012 18:00:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-22T22:28:30Z&apos;, u&apos;email&apos;: u&apos;nik.kolev@sig.com&apos;, u&apos;name&apos;: u&apos;Nik Kolev&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-610&quot; title=&quot;FormatException message in MongoServerAddress.Parse&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-610&quot;&gt;&lt;del&gt;CSHARP-610&lt;/del&gt;&lt;/a&gt; Invalid server address message.&lt;/p&gt;

&lt;p&gt;Fixes the FormatException message in the path in&lt;br/&gt;
MongoServerAddress::Parse where the provided &apos;url&apos; does not pass&lt;br/&gt;
the ::TryParse criteria for correctness. The intent was to provide&lt;br/&gt;
the offending value in the message, but the developer forgot to&lt;br/&gt;
fill in the &lt;/p&gt;
{0}
&lt;p&gt; placeholder.&lt;br/&gt;
Branch: x2.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/c3081730e6638db0aca762fd163fc3ae394e41b7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/c3081730e6638db0aca762fd163fc3ae394e41b7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="182787" author="auto" created="Mon, 5 Nov 2012 23:35:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-11-02T20:43:15Z&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-610&quot; title=&quot;FormatException message in MongoServerAddress.Parse&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-610&quot;&gt;&lt;del&gt;CSHARP-610&lt;/del&gt;&lt;/a&gt;: merged pull request 134 and added more unit tests.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/566c6b56e8fe2782f6c2298ba8d101a5dfab8047&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/566c6b56e8fe2782f6c2298ba8d101a5dfab8047&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="182786" author="auto" created="Mon, 5 Nov 2012 23:35:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-22T22:28:30Z&apos;, u&apos;email&apos;: u&apos;nik.kolev@sig.com&apos;, u&apos;name&apos;: u&apos;Nik Kolev&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-610&quot; title=&quot;FormatException message in MongoServerAddress.Parse&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-610&quot;&gt;&lt;del&gt;CSHARP-610&lt;/del&gt;&lt;/a&gt; Invalid server address message.&lt;/p&gt;

&lt;p&gt;Fixes the FormatException message in the path in&lt;br/&gt;
MongoServerAddress::Parse where the provided &apos;url&apos; does not pass&lt;br/&gt;
the ::TryParse criteria for correctness. The intent was to provide&lt;br/&gt;
the offending value in the message, but the developer forgot to&lt;br/&gt;
fill in the &lt;/p&gt;
{0}
&lt;p&gt; placeholder.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/a059c7c13a223e85ce3282c111b1047a0e5b1f9e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/a059c7c13a223e85ce3282c111b1047a0e5b1f9e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="177949" author="nkolev" created="Tue, 23 Oct 2012 02:18:29 +0000"  >&lt;p&gt;I have submitted a pull request that fixes the issue: &lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/pull/134&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/pull/134&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you pull the tests I added from the commit here: &lt;a href=&quot;https://github.com/gv0tch0/mongo-csharp-driver/commit/b59f55abed1d41dd6f0bb07beede8762268b7969&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/gv0tch0/mongo-csharp-driver/commit/b59f55abed1d41dd6f0bb07beede8762268b7969&lt;/a&gt; and run them you&apos;ll get &quot;code to reproduce&quot; (granted of course you don&apos;t pull the change to MongoServerAddress). If you comment out the ExpectedException in said tests you can see an exception stacktrace.&lt;/p&gt;</comment>
                            <comment id="177914" author="craiggwilson" created="Mon, 22 Oct 2012 23:51:51 +0000"  >&lt;p&gt;Would you mind posting a stacktrace, or some code to reproduce?&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|hrk5uf:</customfieldvalue>

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