<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:53:21 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>[JAVA-905] BasicBSONObject.equals doesn&apos;t handle Number values correctly</title>
                <link>https://jira.mongodb.org/browse/JAVA-905</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Number.doubleValue is compared, but that will drop precision from a large Long value and falsely consider two different Numbers to be equal.&lt;/p&gt;

&lt;p&gt;Pull request here: &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/pull/133&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/pull/133&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="84030">JAVA-905</key>
            <summary>BasicBSONObject.equals doesn&apos;t handle Number values correctly</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="-1">Unassigned</assignee>
                                    <reporter username="hoffrocket">Jon Hoffman</reporter>
                        <labels>
                    </labels>
                <created>Tue, 30 Jul 2013 19:57:23 +0000</created>
                <updated>Tue, 31 Mar 2015 20:09:57 +0000</updated>
                            <resolved>Mon, 19 Aug 2013 15:54:44 +0000</resolved>
                                    <version>2.11.2</version>
                                    <fixVersion>2.11.3</fixVersion>
                    <fixVersion>3.0.0</fixVersion>
                                    <component>BSON</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="869478" author="jeff.yemin" created="Tue, 31 Mar 2015 20:09:57 +0000"  >&lt;p&gt;Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.&lt;/p&gt;</comment>
                            <comment id="423486" author="auto" created="Thu, 12 Sep 2013 14:07:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;trnl&apos;, u&apos;name&apos;: u&apos;Uladzimir Mihura&apos;, u&apos;email&apos;: u&apos;trnl.me@gmail.com&apos;}
&lt;p&gt;Message: Merge pull request #133 from foursquare/bsonequals&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-905&quot; title=&quot;BasicBSONObject.equals doesn&amp;#39;t handle Number values correctly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-905&quot;&gt;&lt;del&gt;JAVA-905&lt;/del&gt;&lt;/a&gt;: BasicBSONObject.equals doesn&apos;t handle Number values correctly&lt;br/&gt;
Branch: 2.11.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/1afd29ace35effd25431984a66f74be19b3d6ea3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/1afd29ace35effd25431984a66f74be19b3d6ea3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="423470" author="auto" created="Thu, 12 Sep 2013 13:41:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;trnl&apos;, u&apos;name&apos;: u&apos;Uladzimir Mihura&apos;, u&apos;email&apos;: u&apos;trnl.me@gmail.com&apos;}
&lt;p&gt;Message: Merge pull request #133 from foursquare/bsonequals&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-905&quot; title=&quot;BasicBSONObject.equals doesn&amp;#39;t handle Number values correctly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-905&quot;&gt;&lt;del&gt;JAVA-905&lt;/del&gt;&lt;/a&gt;: BasicBSONObject.equals doesn&apos;t handle Number values correctly&lt;br/&gt;
Branch: 2.11.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/e051f612fe07c93ea10198b9dfa41ee56b073ef4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/e051f612fe07c93ea10198b9dfa41ee56b073ef4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="404981" author="auto" created="Fri, 16 Aug 2013 21:10:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;trnl&apos;, u&apos;name&apos;: u&apos;Uladzimir Mihura&apos;, u&apos;email&apos;: u&apos;trnl.me@gmail.com&apos;}
&lt;p&gt;Message: fix(driver-compat) &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-905&quot; title=&quot;BasicBSONObject.equals doesn&amp;#39;t handle Number values correctly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-905&quot;&gt;&lt;del&gt;JAVA-905&lt;/del&gt;&lt;/a&gt;: BasicBSONObject.equals doesn&apos;t handle Number values correctly&lt;br/&gt;
Branch: 3.0.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/9ca989aa0dd0214be42740865099000f915e242a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/9ca989aa0dd0214be42740865099000f915e242a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="404864" author="auto" created="Fri, 16 Aug 2013 19:13:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;trnl&apos;, u&apos;name&apos;: u&apos;Uladzimir Mihura&apos;, u&apos;email&apos;: u&apos;trnl.me@gmail.com&apos;}
&lt;p&gt;Message: Merge pull request #133 from foursquare/bsonequals&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-905&quot; title=&quot;BasicBSONObject.equals doesn&amp;#39;t handle Number values correctly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-905&quot;&gt;&lt;del&gt;JAVA-905&lt;/del&gt;&lt;/a&gt;: BasicBSONObject.equals doesn&apos;t handle Number values correctly&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/401490a9be25d0183b23bc04d4a12afb28abc255&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/401490a9be25d0183b23bc04d4a12afb28abc255&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="404837" author="uladzimir_mihura@epam.com" created="Fri, 16 Aug 2013 18:50:23 +0000"  >&lt;p&gt;Thank you Jon for your ticket and pull request.&lt;/p&gt;

&lt;p&gt;I&apos;m going to merge it, but actually I think that it was a bad idea to compare Number subclasses to each other.&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|hrrxlz:</customfieldvalue>

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