<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:03:53 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>[CXX-1776] bsoncxx::oid::to_string() returns decimal string instead of hexadecimal</title>
                <link>https://jira.mongodb.org/browse/CXX-1776</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;Since I was not sure if this is a bug or if I am missing something I am first filing this under the &quot;question&quot; category.&lt;/p&gt;

&lt;p&gt;I am recording the ObjectId in a string and want to later use it to retrieve the document:&lt;br/&gt;
&#160;&lt;br/&gt;
&#160;&lt;br/&gt;
&lt;font color=&quot;#569cd6&quot;&gt;auto&lt;/font&gt;&lt;font color=&quot;#d4d4d4&quot;&gt; result &lt;/font&gt;&lt;font color=&quot;#d4d4d4&quot;&gt;=&lt;/font&gt; &lt;font color=&quot;#9cdcfe&quot;&gt;m_collection&lt;/font&gt;&lt;font color=&quot;#d4d4d4&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#dcdcaa&quot;&gt;insert_one&lt;/font&gt;&lt;font color=&quot;#d4d4d4&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#9cdcfe&quot;&gt;doc_val&lt;/font&gt;&lt;font color=&quot;#d4d4d4&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#dcdcaa&quot;&gt;view&lt;/font&gt;&lt;font color=&quot;#d4d4d4&quot;&gt;());&lt;/font&gt;&lt;br/&gt;
&lt;font color=&quot;#9cdcfe&quot;&gt;m_id = result&lt;/font&gt;&lt;font color=&quot;#d4d4d4&quot;&gt;-&amp;gt;&lt;/font&gt;&lt;font color=&quot;#dcdcaa&quot;&gt;inserted_id&lt;/font&gt;&lt;font color=&quot;#d4d4d4&quot;&gt;().&lt;/font&gt;&lt;font color=&quot;#dcdcaa&quot;&gt;get_oid&lt;/font&gt;&lt;font color=&quot;#d4d4d4&quot;&gt;().&lt;/font&gt;&lt;font color=&quot;#9cdcfe&quot;&gt;value.&lt;/font&gt;&lt;font color=&quot;#dcdcaa&quot;&gt;to_string&lt;/font&gt;&lt;font color=&quot;#d4d4d4&quot;&gt;();&lt;/font&gt;&lt;br/&gt;
However, the to_string method is returning a decimal representation, even though the &lt;a href=&quot;http://mongocxx.org/api/current/classbsoncxx_1_1oid.html#a9dc30e0daf1a52829ccae351a514e6cc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;API documentation&lt;/a&gt; says it should return a hexadecimal representation.&lt;/p&gt;</description>
                <environment></environment>
        <key id="778409">CXX-1776</key>
            <summary>bsoncxx::oid::to_string() returns decimal string instead of hexadecimal</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="13203">Gone away</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="puya">Puya Daravi</reporter>
                        <labels>
                    </labels>
                <created>Tue, 28 May 2019 01:17:11 +0000</created>
                <updated>Fri, 27 Oct 2023 19:48:16 +0000</updated>
                            <resolved>Tue, 28 May 2019 17:10:29 +0000</resolved>
                                    <version>3.4.0</version>
                                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2262145" author="puya" created="Tue, 28 May 2019 17:05:34 +0000"  >&lt;p&gt;I&apos;m sorry about the noise I was mistaken. Please close this.&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|huqiq7:</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>