<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:43:24 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-6512] MongoDB Compass import corrupts documents</title>
                <link>https://jira.mongodb.org/browse/COMPASS-6512</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;h3&gt;&lt;a name=&quot;ProblemStatement%2FRationale&quot;&gt;&lt;/a&gt;&lt;b&gt;Problem Statement/Rationale&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;I faced a problem with importing the collection in MongoDB Compass. After successfull import the documents within collection are corrupted, almost all fields are ignored, broken nesting and etc.&lt;/p&gt;

&lt;p&gt;This problem occurs when there is at least field with name &quot;document&quot; in collection documents. If we change the field name &quot;document&quot; to &quot;doc&quot;, the import works correctly. Probably MongoDB Compass is using the field name &quot;document&quot; for some internal reason and when an imported document has the same field name, bad things happen. &lt;b&gt;Idk if there are some others &quot;fragile&quot; field names that can lead to the same effect when importing collection with MongoDB Compass.&lt;/b&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;StepstoReproduce&quot;&gt;&lt;/a&gt;&lt;b&gt;Steps to Reproduce&lt;/b&gt;&lt;/h3&gt;
&lt;h3&gt;&lt;a name=&quot;OpenMongo%C2%A0DBwithMongoDBCompass%2Cthen%3A&quot;&gt;&lt;/a&gt;Open Mongo&#160;DB with MongoDB Compass, then:&lt;/h3&gt;
&lt;blockquote&gt;&lt;p&gt;Create the empty collection to perform import in there &lt;del&gt;&amp;gt; select collection -&amp;gt; &lt;b&gt;Collection&lt;/b&gt;&#160;tab -&amp;gt;&#160;&lt;b&gt;Import Data&lt;/b&gt;&#160;&lt;/del&gt;&amp;gt;&#160;&lt;b&gt;Select file&lt;/b&gt; (&lt;b&gt;person.json&lt;/b&gt; attached)-&amp;gt; &lt;b&gt;Import&lt;/b&gt;&#160;&lt;/p&gt;&lt;/blockquote&gt;
&lt;h3&gt;&lt;a name=&quot;ExpectedResults&quot;&gt;&lt;/a&gt;&lt;b&gt;Expected Results&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;I expect to see the full document with all the fields. See picture &lt;b&gt;expectation.jpg&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;ActualResults&quot;&gt;&lt;/a&gt;&lt;b&gt;Actual Results&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;I see corrupted document with broken nesting, almost all fields are ignored. See picture &lt;b&gt;actual_result.jpg&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;AdditionalNotes&quot;&gt;&lt;/a&gt;&lt;b&gt;Additional Notes&lt;/b&gt;&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;b&gt;Local Mongo DB version&lt;/b&gt;: 4.2.7 Community&lt;/li&gt;
	&lt;li&gt;&lt;b&gt;MongoDB Compass version&lt;/b&gt;: 1.35.0 (1.35.0)&lt;/li&gt;
	&lt;li&gt;I also created a question on &lt;b&gt;Stackoverflow&lt;/b&gt; for this issue, &lt;a href=&quot;https://stackoverflow.com/questions/75423130/mongodb-compass-import-corrupts-documents&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;see here&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>OS:&lt;br/&gt;
node.js / npm versions:&lt;br/&gt;
Additional info:&lt;br/&gt;
</environment>
        <key id="2261997">COMPASS-6512</key>
            <summary>MongoDB Compass import corrupts documents</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="5">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="flatleywalker@gmail.com">Anton Tarasov</reporter>
                        <labels>
                            <label>first-responder</label>
                    </labels>
                <created>Sun, 12 Feb 2023 11:29:23 +0000</created>
                <updated>Tue, 19 Dec 2023 18:53:13 +0000</updated>
                            <resolved>Tue, 19 Dec 2023 18:53:13 +0000</resolved>
                                    <version>1.35.0</version>
                                    <fixVersion>1.41.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="5960887" author="rhys.howell" created="Tue, 19 Dec 2023 18:53:13 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=flatleywalker%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;flatleywalker@gmail.com&quot;&gt;flatleywalker@gmail.com&lt;/a&gt; - thanks for reporting the issue and providing a good description and example. I tried to reproduce this in 1.41.0 and cannot, looks like it has been fixed. In 1.37.0 we did a pretty big overhaul of the import/export experience so it likely landed there.&lt;/p&gt;

&lt;p&gt;Please let us know if you update to the newest Compass version and still run into the same issue.&lt;br/&gt;
&lt;a href=&quot;https://www.mongodb.com/try/download/compass&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/try/download/compass&lt;/a&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="431445" name="actual_result.jpg" size="58017" author="flatleywalker@gmail.com" created="Sun, 12 Feb 2023 11:17:43 +0000"/>
                            <attachment id="431446" name="expectation.jpg" size="312472" author="flatleywalker@gmail.com" created="Sun, 12 Feb 2023 11:17:44 +0000"/>
                            <attachment id="431447" name="person.json" size="746" author="flatleywalker@gmail.com" created="Sun, 12 Feb 2023 11:16:52 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 19 Dec 2023 18:53:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 weeks, 1 day 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="11861"><![CDATA[Not Needed]]></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>rhys.howell@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>flatleywalker@gmail.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|i1vk0n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1e03k:</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_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|i1v65z:</customfieldvalue>

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