<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:36:03 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>[COMPASS-4345] Compass does a replace instead of an update when documents are edited.</title>
                <link>https://jira.mongodb.org/browse/COMPASS-4345</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;Feedback from &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=drew.dipalma&quot; class=&quot;user-hover&quot; rel=&quot;drew.dipalma&quot;&gt;drew.dipalma&lt;/a&gt; on this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;We&#8217;re seeing more and more issues with Compass/Data Explorer using a &#8216;replace&#8217; vs. &#8216;update&#8217; when changes are made &#8211; is this some that&#8217;s planned to change in the future?&lt;/p&gt;

&lt;p&gt;The core of what&#8217;s causing this to come up more is that it&#8217;s emerging as a common pattern to test sync with an emulator + Compass/Explorer.  However, as replace is being used when someone makes a change offline on an emulator and then changes in our tools the emulator update is overwritten even if the updates were to separate fields.&lt;/p&gt;

&lt;p&gt;We&#8217;re still seeing the issue we talked about before around testing Triggers, but this new case is even less intuitive for users.&lt;/p&gt;&lt;/blockquote&gt;

&lt;h3&gt;&lt;a name=&quot;Openquestions&quot;&gt;&lt;/a&gt;Open questions&lt;/h3&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;If we do nothing about this, will the VS Code extension have the same behavior when we implement document editing?&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="1404071">COMPASS-4345</key>
            <summary>Compass does a replace instead of an update when documents are edited.</summary>
                <type id="12" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14715&amp;avatarType=issuetype">Story</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="13201">Fixed</resolution>
                                        <assignee username="rhys.howell@mongodb.com">Rhys Howell</assignee>
                                    <reporter username="massimiliano.marcon@mongodb.com">Massimiliano Marcon</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 Jul 2020 15:08:29 +0000</created>
                <updated>Sun, 29 Oct 2023 02:40:17 +0000</updated>
                            <resolved>Mon, 28 Sep 2020 11:42:26 +0000</resolved>
                                                    <fixVersion>1.24.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="3413768" author="rhys.howell" created="Mon, 28 Sep 2020 11:42:27 +0000"  >&lt;p&gt;Compass merge commit: &lt;a href=&quot;https://github.com/mongodb-js/compass/commit/629d9edb4c9700af458dd7039a452f4a1ed017d2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/629d9edb4c9700af458dd7039a452f4a1ed017d2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3413764" author="xgen-internal-githook" created="Mon, 28 Sep 2020 11:35:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4345&quot; title=&quot;Compass does a replace instead of an update when documents are edited.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4345&quot;&gt;&lt;del&gt;COMPASS-4345&lt;/del&gt;&lt;/a&gt;: Update hadron document and compass-crud to bring in update instead of replace change (#2023)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/629d9edb4c9700af458dd7039a452f4a1ed017d2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/629d9edb4c9700af458dd7039a452f4a1ed017d2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3317258" author="xgen-internal-githook" created="Mon, 3 Aug 2020 09:24:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4345&quot; title=&quot;Compass does a replace instead of an update when documents are edited.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4345&quot;&gt;&lt;del&gt;COMPASS-4345&lt;/del&gt;&lt;/a&gt;: Add findOneAndUpdate (#240)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/data-service/commit/3402949bd29e40c5ddbad540b0407d8a5dbd1b8c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/data-service/commit/3402949bd29e40c5ddbad540b0407d8a5dbd1b8c&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1987228">COMPASS-5528</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2027807">COMPASS-5753</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 29 Jul 2020 21:51:42 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 19 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10250"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;This ticket updates the functionality of document editing. Instead of replacing a document, and possibly losing changes which occurred in the background, this change makes it so that the documents are now updated. In cases where the fields being changed do not exist in the form which they were originally shown to a user, we show a message: `Document was modified in the background or it longer exists. Do you wish to continue and possibly overwrite new changes?` If the users clicks &apos;update&apos; the document is replaced, if the user clicks &apos;cancel&apos;, the document is returned to its original unedited state. &lt;/p&gt;

&lt;p&gt;With the JSON editor view, documents are still fully replaced. The table view uses the new update functionality.&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 19 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>massimiliano.marcon@mongodb.com</customfieldvalue>
            <customfieldvalue>rhys.howell@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxtxbr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hx1kvb:</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>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="4159">Iteration Icaco</customfieldvalue>
    <customfieldvalue id="4187">Iteration Jackfruit</customfieldvalue>
    <customfieldvalue id="4244">Iteration Kiwi</customfieldvalue>
    <customfieldvalue id="4283">Iteration Lime</customfieldvalue>
    <customfieldvalue id="4316">Iteration Maracuja</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxtjl3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>