<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:45:28 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-7129] Invalid MongoDB semver version breaks Compass</title>
                <link>https://jira.mongodb.org/browse/COMPASS-7129</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;&lt;font color=&quot;#172b4d&quot;&gt;When someone connects to a MongoDB deployment with an invalid version (Ex: `4.2.18-`) Compass breaks on the parsing. This involves making Compass handle these without breaking.&lt;br/&gt;
&lt;br/&gt;
&lt;b&gt;V Old description below V&lt;/b&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;b&gt;Problem Statement/Rationale&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#172b4d&quot;&gt;I have a mongoDB server running on an embedded Linux device, connected to a Windows laptop through a direct RNDIS/USB ethernet connection.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#172b4d&quot;&gt;On the laptop, I&apos;m running MongoDB Compass to connect to the database.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;The data on the server is not protected (public), there is not any user defined nor any authentication.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;I can connect with MongoDB Compass.&lt;/li&gt;
	&lt;li&gt;I can see the list of databases and the list of collections.&lt;/li&gt;
	&lt;li&gt;But I cannot open any collection nor see any item in any collection from the UI.&lt;/li&gt;
&lt;/ul&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;ul&gt;
	&lt;li&gt;&lt;font color=&quot;#172b4d&quot;&gt;Start MongoDB Compass and connect to the mongoDB server with the following connection options:&lt;/font&gt;
	&lt;ul&gt;
		&lt;li&gt;&lt;font color=&quot;#172b4d&quot;&gt;Connect string: mongodb://192.168.XXX.XXX:27017 (where X is the real IP address)&lt;/font&gt;&lt;/li&gt;
		&lt;li&gt;&lt;font color=&quot;#172b4d&quot;&gt;Authentication: None&lt;/font&gt;&lt;/li&gt;
		&lt;li&gt;&lt;font color=&quot;#172b4d&quot;&gt;TLS/SSL: Default (Disabled)&lt;/font&gt;&lt;/li&gt;
		&lt;li&gt;&lt;font color=&quot;#172b4d&quot;&gt;Proxy/SSH: None&lt;/font&gt;&lt;/li&gt;
		&lt;li&gt;&lt;font color=&quot;#172b4d&quot;&gt;All the rest by default&lt;/font&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#172b4d&quot;&gt;Wait for the list of databases to appear, and open one.&lt;/font&gt;&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#172b4d&quot;&gt;Wait for the list of collections to appear, and try to open one (non-empty, obviously).&lt;/font&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;h3&gt;&lt;a name=&quot;&quot;&gt;&lt;/a&gt;&lt;font color=&quot;#172b4d&quot;&gt;&lt;b&gt;Expected Results&lt;/b&gt;&lt;/font&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#172b4d&quot;&gt;The collections can be opened and each individual entry can be read.&lt;/font&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;&quot;&gt;&lt;/a&gt;&lt;font color=&quot;#172b4d&quot;&gt;&lt;b&gt;Actual Results&lt;/b&gt;&lt;/font&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#172b4d&quot;&gt;The collections cannot be opened (no arrow in the UI), nothing happens when clicking on a collection.&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;font color=&quot;#172b4d&quot;&gt;It used to work well with a previous version of MongoDB Compass from ~2 years ago (that I don&apos;t have anymore). Not sure though about the corresponding mongoDB server at that time.&lt;/font&gt;&lt;/li&gt;
	&lt;li&gt;I can send commands from the terminal to Browse the database. I also tried Studio3T software and I can execute commands from the laptop, so it does not seem to be a configuration on the server nor a user permission issue.&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#172b4d&quot;&gt;If I run the same database locally on the laptop (i.e. Windows version of the mongoDB server), it works and I can open the collections.&lt;/font&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>OS: Windows 11 22H2 (64-bits)&lt;br/&gt;
MongoDB server version: v4.2.18&lt;br/&gt;
MongoDB Compass version: 1.39.1&lt;br/&gt;
</environment>
        <key id="2422110">COMPASS-7129</key>
            <summary>Invalid MongoDB semver version breaks Compass</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="1" iconUrl="https://jira.mongodb.org/images/icons/statuses/open.png" description="">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="alexandre.habersaat@flyability.com">Alexandre Habersaat</reporter>
                        <labels>
                            <label>needs-prioritization</label>
                    </labels>
                <created>Mon, 21 Aug 2023 13:35:18 +0000</created>
                <updated>Mon, 23 Oct 2023 15:13:16 +0000</updated>
                                                            <fixVersion>No version</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="5798091" author="JIRAUSER1274774" created="Mon, 23 Oct 2023 06:50:34 +0000"  >&lt;p&gt;After checking our build scripts and fixing the versioning of mongoDB to not contain any dash at the end, MongoDBCompass manages the connect correctly.&lt;/p&gt;

&lt;p&gt;I think this ticket can be closed. Thank you for the help.&lt;/p&gt;</comment>
                            <comment id="5682934" author="JIRAUSER1274774" created="Wed, 6 Sep 2023 13:21:03 +0000"  >&lt;p&gt;Thank you for the first investigation.&lt;br/&gt;
As it&apos;s running on an embedded device, we probably build it from source at some point; I&apos;ll check if we find a reason why the version gets a dash at the end.&lt;/p&gt;</comment>
                            <comment id="5675196" author="rhys.howell" created="Fri, 1 Sep 2023 16:16:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alexandre.habersaat%40flyability.com&quot; class=&quot;user-hover&quot; rel=&quot;alexandre.habersaat@flyability.com&quot;&gt;alexandre.habersaat@flyability.com&lt;/a&gt; Thanks those logs are helpful, I&apos;m seeing an error `TypeError: Invalid Version: 4.2.18-`&lt;br/&gt;
It looks like it&apos;s seeing your MongoDB version is &quot;4.2.18-&quot; and it fails parsing it because of the `-`. Is there any custom configuration on the MongoDB instance that might cause the version to have the dash at the end? I&apos;m not sure why the version would be not be &quot;4.2.18&quot;&lt;/p&gt;</comment>
                            <comment id="5668061" author="JIRAUSER1274774" created="Wed, 30 Aug 2023 09:29:29 +0000"  >&lt;p&gt;I just uploaded a log file (after updating Compass to the latest version 1.39.3 this morning).&lt;/p&gt;

&lt;p&gt;Thanks !&lt;/p&gt;</comment>
                            <comment id="5664354" author="rhys.howell" created="Mon, 28 Aug 2023 20:11:00 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alexandre.habersaat%40flyability.com&quot; class=&quot;user-hover&quot; rel=&quot;alexandre.habersaat@flyability.com&quot;&gt;alexandre.habersaat@flyability.com&lt;/a&gt; if possible can you share your log file with us? It would help us see if any commands are failing or errors happening in the process. You can get the log text file from the Help Menu -&amp;gt; Open Log File -&amp;gt; Extract and open as .txt&lt;br/&gt;
Be sure to redact any personal information.&lt;br/&gt;
Thanks, hopefully we can understand what&apos;s going on here.&lt;/p&gt;</comment>
                            <comment id="5646645" author="dbeng-pm-bot" created="Mon, 21 Aug 2023 13:35:20 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alexandre.habersaat%40flyability.com&quot; class=&quot;user-hover&quot; rel=&quot;alexandre.habersaat@flyability.com&quot;&gt;alexandre.habersaat@flyability.com&lt;/a&gt;, thank you for reaching out to us! The team will review your issue and get back to you soon as soon as possible. &lt;/p&gt;

&lt;p&gt;Please review your issue to ensure you&apos;ve included your environment details and have attached relevant logs (with any sensitive data redacted), so that we&apos;re best able to provide you a timely and thorough response. Thanks again!&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="472454" name="compass_64ef05a4ae2f8a2193550bf3_log.txt" size="36656" author="alexandre.habersaat@flyability.com" created="Wed, 30 Aug 2023 09:28:04 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 21 Aug 2023 13:35:20 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        15 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="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>
                            15 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alexandre.habersaat@flyability.com</customfieldvalue>
            <customfieldvalue>dbeng-pm-bot</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|i2n3n3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i25528:</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_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2mpsf:</customfieldvalue>

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