[COMPASS-3596] Clicking "FIND" button in Compass doesn't load newly added documents Created: 26/Apr/19  Updated: 27/Oct/23  Resolved: 05/Jul/19

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Harshad Dhavale Assignee: Unassigned
Resolution: Works as Designed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related

 Description   

Clicking the "FIND" button in Compass doesn't seem to load the newly added documents. 

 Here are the specifics of my tests that highlight this discrepancy:


Test#1:

  • For an existing collection, I first confirmed that I was able to see all documents in it, in both Compass as well as mongo shell.
  • Then, I inserted a new document in this collection, via the mongo shell.
  • I confirmed that this new document was visible upon querying in mongo shell.
  • When I tried to filter this document in Compass, by giving a filter condition in the FILTER section, and clicking the FIND button, it did not show this newly added document. I clicked the FIND button multiple times, but it did not show the newly added document.
  • The workaround I found was to click the "refresh" button, on the right hand side. When I clicked it, then it showed the newly added document.

Please refer to this short clip for test#1, that shows a reproduction of the issue and the workaround of using the "refresh" button, to get the newly added document to show up.


Test#2:

  • For this test, I followed the same steps as above, except without specifying any filter condition. In other words, I kept the FILTER }}section blank, clicked the {{FIND button and tried to see newly added document.
  • However, clicking FIND even when FILTER section was blank, did not show the newly added document.
  • In this instance as well, when I clicked the "refresh" button, then the newly added document showed up.

Please refer to this short clip for test#2.


 

The above behavior of the FIND button seems to be antithetical to our documentation here, which says: "Click Find to run the query and view the updated results".



 Comments   
Comment by Massimiliano Marcon [ 05/Jul/19 ]

Behavior will be document, as part of DOCSP-6064

Generated at Wed Feb 07 22:33:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.