<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:37:47 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-4901] Compass overwrites appname field in connection string</title>
                <link>https://jira.mongodb.org/browse/COMPASS-4901</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;&lt;font color=&quot;#505f79&quot;&gt;Compass overwrites the appName field in connection string even when explicitly specified.&lt;/font&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;ul&gt;
	&lt;li&gt;&lt;font color=&quot;#505f79&quot;&gt;Open Compass&lt;/font&gt;&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#505f79&quot;&gt;Connect to an instance with a connection string (doesn&apos;t need to specify) with or without an appname field&lt;/font&gt;&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#505f79&quot;&gt;Disconnect to check the settings that were actually used&lt;/font&gt;&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#505f79&quot;&gt;Note &quot;&amp;amp;appname=MongoDB%20Compass&quot; appears in the connection string, even if that field was specified with another value&lt;/font&gt;&lt;/li&gt;
&lt;/ul&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 appname to keep its explicitly set value.&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;The appname field is added when omited, or overwritten with a value of&#160;&quot;MongoDB%20Compass&quot;&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;p&gt;&lt;font color=&quot;#505f79&quot;&gt;Issue seems to come from &lt;a href=&quot;https://github.com/mongodb-js/compass/blob/fe5fc2925a2621b2a69c9dc835de68da1a393be5/packages/compass/src/app/migrations/legacy-connection.js#L686&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/blob/fe5fc2925a2621b2a69c9dc835de68da1a393be5/packages/compass/src/app/migrations/legacy-connection.js#L686&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;I suggest either removing these lines, or using the default value only if it wasn&apos;t specified explicitly in the connection string.&lt;/font&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1796549">COMPASS-4901</key>
            <summary>Compass overwrites appname field in connection string</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="sergey.petushkov@mongodb.com">Sergey Petushkov</assignee>
                                    <reporter username="nabil.boutemeur@gmail.com">Nabil Boutemeur</reporter>
                        <labels>
                    </labels>
                <created>Thu, 24 Jun 2021 15:39:12 +0000</created>
                <updated>Wed, 10 Jan 2024 22:28:04 +0000</updated>
                            <resolved>Wed, 14 Jul 2021 13:22:05 +0000</resolved>
                                    <version>1.26.1</version>
                                    <fixVersion>1.28.4</fixVersion>
                                    <component>Connectivity</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3904392" author="JIRAUSER1260830" created="Mon, 28 Jun 2021 13:28:25 +0000"  >&lt;p&gt;Hi Sergey Petushkov, thank you for the prompt reply.&lt;/p&gt;

&lt;p&gt;Our use case is that in our company we have a software that uses the appname field to authenticate users (kind of as it&apos;s shown in this page, &lt;a href=&quot;https://docs.mongodb.com/realm/mongodb/connect-over-the-wire-protocol/#compatible-clients[]&quot; title=&quot;https://docs.mongodb.com/realm/mongodb/connect-over-the-wire-protocol/#compatible-clients&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;for realm&lt;/a&gt;) and provide additional features on top (mainly monitoring, but extensible to do just about anything).&lt;/p&gt;

&lt;p&gt;However this issue makes Compass incompatible with this software and forces us to maintain an internal fork with a two-line patch.&lt;/p&gt;

&lt;p&gt;I personally do not understand why the decision of not allowing this field to be overwritten when explicitly set was made, maybe you can bring us some light on this issue? I&apos;m sorry as this probably comes out as an oddly specific edge-case that&apos;d possibly only be convenient for our specific needs.&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="3904349" author="JIRAUSER1257460" created="Mon, 28 Jun 2021 13:12:08 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=nabil.boutemeur%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;nabil.boutemeur@gmail.com&quot;&gt;nabil.boutemeur@gmail.com&lt;/a&gt;, thanks for reporting the issue! This is currently &quot;working as expected&quot;, but we would like to learn more why it might be important for you to override the appname argument with your own one. Can you share your use-case with us, please?&lt;/p&gt;</comment>
                            <comment id="3899593" author="JIRAUSER1260830" created="Fri, 25 Jun 2021 08:14:54 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb-js/compass/blob/0a0117d495043b291a14bc40aaae6f81ab50ff80/packages/compass-connect/src/stores/index.js#L995&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/blob/0a0117d495043b291a14bc40aaae6f81ab50ff80/packages/compass-connect/src/stores/index.js#L995&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Is actually the line that overwrites the appname field.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </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>Mon, 28 Jun 2021 13:12:08 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 32 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>jessica.sigafoos@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 32 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>nabil.boutemeur@gmail.com</customfieldvalue>
            <customfieldvalue>sergey.petushkov@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzoh47:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hz9wpr:</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="5212">Iteration Firenze</customfieldvalue>
    <customfieldvalue id="5260">Iteration Geneva</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.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|hzo3db:</customfieldvalue>

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