<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:37:23 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-4760] Compass shell shows wrong autocomplete suggestions</title>
                <link>https://jira.mongodb.org/browse/COMPASS-4760</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;h3&gt;&lt;a name=&quot;ProblemDescription&quot;&gt;&lt;/a&gt;Problem Description&lt;/h3&gt;

&lt;p&gt;After using autocomplete in compass UI (e.g., in Aggregations tab editor), mongosh autocomplete shows wrong results&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;StepstoReproduce&quot;&gt;&lt;/a&gt;Steps to Reproduce &lt;/h3&gt;

&lt;ol&gt;
	&lt;li&gt;Open any collection, navigate to the Aggregations and create a match state for any field in the collection&lt;/li&gt;
	&lt;li&gt;Open mongosh and type &lt;tt&gt;db.&lt;/tt&gt;, you should see no suggestions&lt;/li&gt;
	&lt;li&gt;Type the first letter of the field from step 1, you should see the field being suggested&lt;/li&gt;
&lt;/ol&gt;


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

&lt;p&gt;You get autocomplete results for whatever you&apos;re typing in the shell (e.g., db methods)&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;ActualResults&quot;&gt;&lt;/a&gt;Actual Results&lt;/h3&gt;

&lt;p&gt;You get the same autocomplete results you were getting in UI&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;AdditionalNotes&quot;&gt;&lt;/a&gt;Additional Notes&lt;/h3&gt;

&lt;p&gt;The source of the issue is probably somewhere in ace editor and some singleton autocomplete state that it&apos;s sharing between all the instances&lt;/p&gt;</description>
                <environment></environment>
        <key id="1685277">COMPASS-4760</key>
            <summary>Compass shell shows wrong autocomplete suggestions</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="13201">Fixed</resolution>
                                        <assignee username="sergey.petushkov@mongodb.com">Sergey Petushkov</assignee>
                                    <reporter username="sergey.petushkov@mongodb.com">Sergey Petushkov</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Apr 2021 08:21:41 +0000</created>
                <updated>Sun, 29 Oct 2023 02:39:54 +0000</updated>
                            <resolved>Wed, 21 Sep 2022 14:12:51 +0000</resolved>
                                                    <fixVersion>1.34.0</fixVersion>
                                    <component>Embedded Shell</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4839123" author="xgen-internal-githook" created="Mon, 19 Sep 2022 17:43:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sergey Petushkov&apos;, &apos;email&apos;: &apos;petushkov.sergey@gmail.com&apos;, &apos;username&apos;: &apos;gribnoysup&apos;}
&lt;p&gt;Message: fix(browser-repl): reset autocomplete on editor focus &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4760&quot; title=&quot;Compass shell shows wrong autocomplete suggestions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4760&quot;&gt;&lt;del&gt;COMPASS-4760&lt;/del&gt;&lt;/a&gt; (#1345)&lt;br/&gt;
Branch: 1281-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/mongosh/commit/f52424a4150d6136159b8ab1f3b4e935f68338a4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/mongosh/commit/f52424a4150d6136159b8ab1f3b4e935f68338a4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4821573" author="xgen-internal-githook" created="Tue, 13 Sep 2022 09:33:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sergey Petushkov&apos;, &apos;email&apos;: &apos;petushkov.sergey@gmail.com&apos;, &apos;username&apos;: &apos;gribnoysup&apos;}
&lt;p&gt;Message: fix(browser-repl): reset autocomplete on editor focus &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4760&quot; title=&quot;Compass shell shows wrong autocomplete suggestions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4760&quot;&gt;&lt;del&gt;COMPASS-4760&lt;/del&gt;&lt;/a&gt; (#1345)&lt;br/&gt;
Branch: main&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/mongosh/commit/f52424a4150d6136159b8ab1f3b4e935f68338a4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/mongosh/commit/f52424a4150d6136159b8ab1f3b4e935f68338a4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4818355" author="xgen-internal-githook" created="Mon, 12 Sep 2022 12:04:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Anna Henningsen&apos;, &apos;email&apos;: &apos;anna.henningsen@mongodb.com&apos;, &apos;username&apos;: &apos;addaleax&apos;}
&lt;p&gt;Message: Merge remote-tracking branch &apos;origin/main&apos; into compass-4760-autocomplete&lt;br/&gt;
Branch: compass-4760-autocomplete&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/mongosh/commit/4a1763078bbd8163e8705261330cd9663150acc4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/mongosh/commit/4a1763078bbd8163e8705261330cd9663150acc4&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="310811" name="Kapture 2021-04-21 at 11.15.35.mp4" size="273950" author="sergey.petushkov@mongodb.com" created="Wed, 21 Apr 2021 09:15:59 +0000"/>
                            <attachment id="310798" name="Screen Recording 2021-04-21 at 10.02.11.mov" size="10213174" author="sergey.petushkov@mongodb.com" created="Wed, 21 Apr 2021 08:17:06 +0000"/>
                    </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, 26 Apr 2021 07:10:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 20 weeks, 2 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/MONGOSH-1291'>MONGOSH-1291</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-5282</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, 20 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>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|hz5mvz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i19lhs:</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="6457">Iteration Jellyfish</customfieldvalue>
    <customfieldvalue id="6458">Iteration Kraken</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|hz5953:</customfieldvalue>

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