Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8021

Clicking a query in My Queries doesn't automatically run the query

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: 1.43.2, 1.43.4
    • Component/s: None
    • Environment:
      OS: Windows 11
      node.js / npm versions:
      Additional info:
    • Developer Tools
    • 3
    • Not Needed

      1. Save a query
      2. Click the saved query in the `My Queries` section
      3. Observe that the query isn't automatically run.

      Original Description below:

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      I had a saved query with Project set to {'transcript': 0, 'Azure_transcript': 0}. When I opened it in the latest stable version the quotes were gone and the Project values were ignored.

      I installed the latest beta (1.43.2-beta4) as it seemed to have some related fixes.

      I recreated the query and found the same issue. The quotes disappear in the query history/favorites list.

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      Open a collection. Click Options. Set Project to include a property name in quotes and 0 to exclude that property. Click Find. Click Query History. Confirm the quotes are gone. Select query from history. Confirm the quotes are gone and the Project value is ignored.

      Expected Results

      What do you expect to happen?

      The Project value should be save in query history and re-applied, without change, when the query in history is selected.

      Actual Results

      What do you observe is happening?

      The Project value is reformatted and the results ignore the Project value.

      Additional Notes

      Any additional information that may be useful to include.

        1. Screenshot 2024-06-18 202317.png
          18 kB
          Alex Rosen
        2. Screenshot 2024-06-18 202351.png
          11 kB
          Alex Rosen

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            alex@seegov.org Alex Rosen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: