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

Click a listed query in Query History does not populate to the query bar.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.20.0
    • Affects Version/s: 1.19.0
    • Component/s: Compass, Query History
    • None
    • Iteration Manatee, Iteration Newt

      Refer to View Recent Queries document, clicking a listed query to populate the query bar with that query is mentioned. However, this feature is not working but instead generating an error in DevTools.

       

      Error captured from DevTool:

      /Applications/MongoDB Compass 2.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:21 Uncaught TypeError: at.runQuery is not a function
      {{ at r.populateQuery (/Applications/MongoDB Compass 2.app/Contents/Resources/app.asar/node_modules/@mongodb-js/compass-query-history/lib/index.js:228)}}
      {{ at Object.ca (/Applications/MongoDB Compass 2.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:14)}}
      {{ at ja (/Applications/MongoDB Compass 2.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:15)}}
      {{ at ka (/Applications/MongoDB Compass 2.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:15)}}
      {{ at wa (/Applications/MongoDB Compass 2.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:17)}}
      {{ at Aa (/Applications/MongoDB Compass 2.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:18)}}
      {{ at ya (/Applications/MongoDB Compass 2.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:18)}}
      {{ at Da (/Applications/MongoDB Compass 2.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:21)}}
      {{ at Ad (/Applications/MongoDB Compass 2.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:84)}}
      {{ at Gi (/Applications/MongoDB Compass 2.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:250)}}

       

        1. image-2019-08-20-15-30-26-475.png
          672 kB
          Tanna Matan
        2. image-2019-08-20-16-16-06-609.png
          19 kB
          Brian Blevins

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            tanna.matan@mongodb.com Tanna Matan
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: