<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:16:14 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>[CDRIVER-2756] mongoc_collection_replace_one missing MONGOC_EXPORT in mongoc-collection.h</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2756</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;The&#160;mongoc_collection_replace_one function is not available in the dynamic library for Windows because the MONGOC_EXPORT is missing from the header file ... see below:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;MONGOC_EXPORT (bool)&lt;br/&gt;
mongoc_collection_update_many (mongoc_collection_t *collection,&lt;br/&gt;
 const bson_t *selector,&lt;br/&gt;
 const bson_t *update,&lt;br/&gt;
 const bson_t *opts,&lt;br/&gt;
 bson_t *reply,&lt;br/&gt;
 bson_error_t *error);&lt;br/&gt;
bool&lt;br/&gt;
mongoc_collection_replace_one (mongoc_collection_t *collection,&lt;br/&gt;
 const bson_t *selector,&lt;br/&gt;
 const bson_t *replacement,&lt;br/&gt;
 const bson_t *opts,&lt;br/&gt;
 bson_t *reply,&lt;br/&gt;
 bson_error_t *error);&lt;br/&gt;
MONGOC_EXPORT (bool)&lt;br/&gt;
mongoc_collection_delete (mongoc_collection_t *collection,&lt;br/&gt;
 mongoc_delete_flags_t flags,&lt;br/&gt;
 const bson_t *selector,&lt;br/&gt;
 const mongoc_write_concern_t *write_concern,&lt;br/&gt;
 bson_error_t *error)&lt;/p&gt;</description>
                <environment>Issue on Windows as symbol is not available in library.</environment>
        <key id="573304">CDRIVER-2756</key>
            <summary>mongoc_collection_replace_one missing MONGOC_EXPORT in mongoc-collection.h</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="13201">Fixed</resolution>
                                        <assignee username="spencer.mckenney">Spencer Mckenney</assignee>
                                    <reporter username="bevolz">Bernie Volz</reporter>
                        <labels>
                            <label>driver</label>
                    </labels>
                <created>Thu, 19 Jul 2018 15:15:59 +0000</created>
                <updated>Sat, 28 Oct 2023 11:29:42 +0000</updated>
                            <resolved>Fri, 20 Jul 2018 17:39:57 +0000</resolved>
                                    <version>1.9.0</version>
                                    <fixVersion>1.13.0</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1952523" author="spencer.mckenney" created="Fri, 20 Jul 2018 17:39:47 +0000"  >&lt;p&gt;Yep you&apos;re right, thanks for pointing this out Bernie. I updated the ticket to reflect that. Closing this issue now as the fix has been merged&lt;/p&gt;</comment>
                            <comment id="1952280" author="xgen-internal-githook" created="Fri, 20 Jul 2018 14:41:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;spencemc&apos;, &apos;name&apos;: &apos;Spencer McKenney&apos;, &apos;email&apos;: &apos;spencermck@me.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2756&quot; title=&quot;mongoc_collection_replace_one missing MONGOC_EXPORT in mongoc-collection.h&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2756&quot;&gt;&lt;del&gt;CDRIVER-2756&lt;/del&gt;&lt;/a&gt; add mongo export to replace one&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/0d6b0285746c484ba7b5167a2c3801dded4c42f3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/0d6b0285746c484ba7b5167a2c3801dded4c42f3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1951710" author="bevolz" created="Thu, 19 Jul 2018 20:06:04 +0000"  >
&lt;p&gt;I think this actually impacts 1.9.0 - 1.12:&lt;/p&gt;

&lt;p&gt;mongo-c-driver 1.9.0&lt;br/&gt;
====================&lt;/p&gt;

&lt;p&gt;...&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;New functions that accept flexible options as a BSON document. These&lt;br/&gt;
    accept a &quot;sessionId&quot; option and any future options. In addition, the&lt;br/&gt;
    two new &quot;update&quot; functions accept the &quot;arrayFilters&quot; option that is new&lt;br/&gt;
    in MongoDB 3.6:&lt;br/&gt;
      mongoc_collection_insert_one&lt;br/&gt;
      mongoc_collection_insert_many&lt;br/&gt;
      mongoc_collection_update_one&lt;br/&gt;
      mongoc_collection_update_many&lt;br/&gt;
      mongoc_collection_replace_one&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;We were using 1.9.2 and it has this issue. We are planning to upgrade, but will likely wait until issue is resolved before updating.&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Bernie&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;----&lt;del&gt;Original Message&lt;/del&gt;----&lt;br/&gt;
From: Spencer Mckenney (JIRA) &amp;lt;jira@mongodb.org&amp;gt; &lt;br/&gt;
Sent: Thursday, July 19, 2018 4:01 PM&lt;br/&gt;
To: Bernie Volz (volz) &amp;lt;volz@cisco.com&amp;gt;&lt;br/&gt;
Subject: &lt;span class=&quot;error&quot;&gt;&amp;#91;MongoDB-JIRA&amp;#93;&lt;/span&gt; (&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2756&quot; title=&quot;mongoc_collection_replace_one missing MONGOC_EXPORT in mongoc-collection.h&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2756&quot;&gt;&lt;del&gt;CDRIVER-2756&lt;/del&gt;&lt;/a&gt;) mongoc_collection_replace_one missing MONGOC_EXPORT in mongoc-collection.h&lt;/p&gt;


&lt;p&gt;     [ &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/CDRIVER-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt; ]&lt;/p&gt;

&lt;p&gt;Spencer Mckenney updated &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2756&quot; title=&quot;mongoc_collection_replace_one missing MONGOC_EXPORT in mongoc-collection.h&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2756&quot;&gt;&lt;del&gt;CDRIVER-2756&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
--------------------------------------&lt;br/&gt;
    Status: In Code Review  (was: Open)&lt;/p&gt;


&lt;p&gt;----------------------&lt;br/&gt;
This message was sent from MongoDB&apos;s issue tracking system. To respond to this ticket, please login to &lt;a href=&quot;https://jira.mongodb.org&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org&lt;/a&gt; using your JIRA, MongoDB Cloud Manager, or MongoDB Atlas credentials.&lt;/p&gt;</comment>
                            <comment id="1951577" author="jesse" created="Thu, 19 Jul 2018 18:40:46 +0000"  >&lt;p&gt;Can you investigate whether our ABI dump / verification tools could be configured to catch this kind of mistake? I.e., any function declared in a public header (a header that&apos;s installed, that doesn&apos;t have &quot;private&quot; in the filename), but not decorated with MONGOC_EXPORT / BSON_EXPORT.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="573970">CDRIVER-2761</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|httmr3:</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>