[COMPASS-3550] Query bar actions errors in new external explain plan plugin Created: 03/Apr/19  Updated: 29/Oct/23  Resolved: 05/Apr/19

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

Type: Bug Priority: Major - P3
Reporter: Lucas Hrabovsky (Inactive) Assignee: Alena Khineika
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Iteration Bison

 Description   

Clicking on View Query History

Uncaught TypeError: Cannot read property 'toggleCollapse' of undefined
    at p.toggleQueryHistory (/Users/lucas/compass/node_modules/@mongodb-js/compass-explain-plan/lib/index.js:1065)
    at a.n (/Users/lucas/compass/node_modules/@mongodb-js/compass-explain-plan/lib/index.js:29)
    at a.emit (/Users/lucas/compass/node_modules/@mongodb-js/compass-explain-plan/lib/index.js:1483)
    at Function.trigger (/Users/lucas/compass/node_modules/@mongodb-js/compass-explain-plan/lib/index.js:29)
    at /Users/lucas/compass/node_modules/@mongodb-js/compass-explain-plan/lib/index.js:29
    at _super.bugsnag (/Users/lucas/compass/node_modules/bugsnag-js/src/bugsnag.js:279)
    at /Users/lucas/compass/node_modules/bugsnag-js/src/bugsnag.js:1252

Clicking on Export to language

Uncaught TypeError: Cannot read property 'emit' of undefined
    at p.exportToLanguage (/Users/lucas/compass/node_modules/@mongodb-js/compass-explain-plan/lib/index.js:1065)
    at a.n (/Users/lucas/compass/node_modules/@mongodb-js/compass-explain-plan/lib/index.js:29)
    at a.emit (/Users/lucas/compass/node_modules/@mongodb-js/compass-explain-plan/lib/index.js:1483)
    at Function.trigger (/Users/lucas/compass/node_modules/@mongodb-js/compass-explain-plan/lib/index.js:29)
    at /Users/lucas/compass/node_modules/@mongodb-js/compass-explain-plan/lib/index.js:29
    at _super.bugsnag (/Users/lucas/compass/node_modules/bugsnag-js/src/bugsnag.js:279)
    at /Users/lucas/compass/node_modules/bugsnag-js/src/bugsnag.js:1252


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