<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:37:16 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-4723] Export Collection - Path Collision Error</title>
                <link>https://jira.mongodb.org/browse/COMPASS-4723</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;h3&gt;&lt;a name=&quot;ProblemDescription%C2%A0&quot;&gt;&lt;/a&gt;Problem Description&#160;&lt;/h3&gt;

&lt;p&gt;The &lt;ins&gt;collection export&lt;/ins&gt; function of Compass 1.26.0 is faulty. The reason for this is a &lt;ins&gt;self-inflicted path collision error&lt;/ins&gt; (see picture 1).&#160;This error occurs when a certain object contains properties (/fields and values) in some documents and is empty in others. For example, the error currently pops up when trying to export the &quot;listingsAndReviews&quot; collection of the airbnb sample record.&#160;&lt;/p&gt;

&lt;p&gt;Should an object contain properties in some documents and none in others, the export function provides an export field for the object in general as well as a field for each object property. In the airbnb case it includes &quot;review_scores&quot; and &quot;review_scores.review_scores_accuracy&quot; etc. (see picture 2). Compass thereby does not comply with the mongoDB Path Collision Restrictions introduced in mongoDB 4.4 (&lt;a href=&quot;https://docs.mongodb.com/manual/release-notes/4.4-compatibility/#path-collision-restrictions).&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/release-notes/4.4-compatibility/#path-collision-restrictions).&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We tested the behavior on two devices operating on Compass version 1.26.0 accessing different clusters. In both cases this error occurred.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;IssueFix&quot;&gt;&lt;/a&gt;Issue Fix&lt;/h3&gt;

&lt;p&gt;On my private mac this issue does not occur. It operates on version 1.24.1.&lt;/p&gt;

&lt;p&gt;Furthermore, you can circumvent this issue by either unticking the object field in the export settings window or by unticking all the individual object properties. In the example above by either unticking&#160;&quot;review_scores&quot; or all of&#160;review_scores&apos;s properties listed in dot notation. In both cases Compass exports all the data.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;StepstoReproduce&quot;&gt;&lt;/a&gt;Steps to Reproduce&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;Load the sample data set into your cluster&lt;/li&gt;
	&lt;li&gt;Use Compass 1.26.0&lt;/li&gt;
	&lt;li&gt;Try to export &quot;listingsAndReviews&quot; from sample_airbnb (or any other collection where a document object contains properties in some cases and no properties in others)&lt;/li&gt;
&lt;/ul&gt;


&lt;h3&gt;&lt;a name=&quot;ExpectedResults&quot;&gt;&lt;/a&gt;Expected Results&lt;/h3&gt;

&lt;p&gt;Export of collection into a JSON file.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;ActualResults&quot;&gt;&lt;/a&gt;Actual Results&lt;/h3&gt;

&lt;p&gt;Path Collision Error&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;AdditionalNotes&quot;&gt;&lt;/a&gt;Additional Notes&lt;/h3&gt;</description>
                <environment>macOS Catalina Version 10.15.7 </environment>
        <key id="1654364">COMPASS-4723</key>
            <summary>Export Collection - Path Collision Error</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="-1">Unassigned</assignee>
                                    <reporter username="clemens.kunst@mongodb.com">Clemens Kunst</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Mar 2021 18:36:06 +0000</created>
                <updated>Sun, 29 Oct 2023 02:39:56 +0000</updated>
                            <resolved>Mon, 8 May 2023 13:18:30 +0000</resolved>
                                    <version>1.26.0</version>
                    <version>1.33.1</version>
                    <version>1.34.1</version>
                                    <fixVersion>1.37.0</fixVersion>
                                    <component>Import/Export</component>
                        <due></due>
                            <votes>4</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="5022633" author="JIRAUSER1258243" created="Thu, 1 Dec 2022 16:45:22 +0000"  >&lt;p&gt;Customer reached us as they were facing the same issue still on Compass version 1.34.1. Following also the same reported on our &lt;a href=&quot;https://www.mongodb.com/community/forums/t/path-collision-trying-to-export-collection/115939&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Community Forum&lt;/a&gt;, as a possible workaround, they have confirmed that they were able to export the referred collection after unchecking the offended fields, following the steps bellow as an example:&lt;/p&gt;

&lt;p&gt;1. go back to &#8220;select fields&#8221;&lt;br/&gt;
2. uncheck review_scores.review_scores_accuracy (and uncheck all fields under &#8220;&lt;b&gt;review_scores&lt;/b&gt;&#8221;)&lt;/p&gt;

&lt;p&gt;The object-type &#8220;&lt;b&gt;review_scores&lt;/b&gt;&#8221; will include all necessary data.&lt;/p&gt;

&lt;p&gt;They have also pointed that once their object is optional, meaning populated in some documents, not populated in others, it seems that this issue arises when they have an empty object.&lt;/p&gt;

&lt;p&gt;Following this workaround, the empty object returns &lt;span class=&quot;error&quot;&gt;&amp;#91;object Object&amp;#93;&lt;/span&gt; instead of an empty cell.&lt;/p&gt;</comment>
                            <comment id="4593222" author="JIRAUSER1269855" created="Fri, 3 Jun 2022 15:32:53 +0000"  >&lt;p&gt;Anyone going to fix this?&#160; Just looking to play around with the data locally.&#160; Any work around?&lt;/p&gt;</comment>
                            <comment id="4352707" author="JIRAUSER1264925" created="Mon, 14 Feb 2022 07:30:49 +0000"  >&lt;p&gt;Still happening with the latest version 1.30.1.&#160;&lt;br/&gt;
Version 1.25.0 seems to be the last working version.&#160;&lt;/p&gt;</comment>
                            <comment id="4192146" author="benedikt@pointivo.com" created="Tue, 16 Nov 2021 16:01:42 +0000"  >&lt;p&gt;I can confirm this issue is still present with 1.29.4.&#160;&lt;/p&gt;</comment>
                            <comment id="4159705" author="JIRAUSER1269690" created="Mon, 1 Nov 2021 07:42:16 +0000"  >&lt;p&gt;Same issue with the latest version 1.28.4. Very annoying issue. No way to export all the data.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="2230145">COMPASS-6428</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2279526">COMPASS-6582</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="307086" name="Screen Shot 2021-03-29 at 2.02.36 PM.png" size="98940" author="felicia.hsieh@mongodb.com" created="Mon, 29 Mar 2021 18:37:49 +0000"/>
                            <attachment id="307087" name="Screen Shot 2021-03-29 at 2.39.36 PM.png" size="94576" author="felicia.hsieh@mongodb.com" created="Mon, 29 Mar 2021 18:39:52 +0000"/>
                            <attachment id="305766" name="picture 1.png" size="115942" author="clemens.kunst@mongodb.com" created="Fri, 19 Mar 2021 18:29:07 +0000"/>
                            <attachment id="305765" name="picture 2.png" size="302882" author="clemens.kunst@mongodb.com" created="Fri, 19 Mar 2021 18:29:13 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5006R00001lSVqJQAW, 5006R00001plvCvQAI, 5006R00001s7kKmQAI, 5006R00001trUJUQA2]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 29 Mar 2021 18:35:35 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 9 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/COMPASS-6428'>COMPASS-6428</a></s>, <s><a href='https://jira.mongodb.org/browse/COMPASS-6582'>COMPASS-6582</a></s>]]></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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>COMPASS-5576</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>
                            1 year, 9 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>benedikt@pointivo.com</customfieldvalue>
            <customfieldvalue>bvincelette@rrc.ca</customfieldvalue>
            <customfieldvalue>claudio.santana@mongodb.com</customfieldvalue>
            <customfieldvalue>clemens.kunst@mongodb.com</customfieldvalue>
            <customfieldvalue>johannes@shopjektiv.de</customfieldvalue>
            <customfieldvalue>tomas.laubr@smart-software.cz</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hz0eiv:</customfieldvalue>

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

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