Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query editor "Explain" query plan is broken #1495

Closed
MattIrv opened this issue May 25, 2018 · 1 comment
Closed

Query editor "Explain" query plan is broken #1495

MattIrv opened this issue May 25, 2018 · 1 comment

Comments

@MattIrv
Copy link
Contributor

MattIrv commented May 25, 2018

  • SQL Operations Studio Version: master 8fce79f

Steps to Reproduce:

  1. Open a query editor with a connection
  2. Run a query
  3. Hit "Explain"

Expected behavior: The query plan shows up
Actual behavior: The query plan is blank and the following error gets printed to the console:

Unhandled Promise rejection: Cannot read property 'getBoundingClientRect' of null ; Zone: <root> ; Task: Promise.then ; Value:
zone-node.js:2251
TypeError: Cannot read property 'getBoundingClientRect' of null
zone-node.js:2251
TypeError: Cannot read property 'getBoundingClientRect' of null
    at Object.i [as drawSvgLines] (/Users/mairvine/code/sqlopsstudio/node_modules/html-query-plan/dist/index.min.js:1:1673)
    at Object.i [as showPlan] (/Users/mairvine/code/sqlopsstudio/node_modules/html-query-plan/dist/index.min.js:1:665)
    at QueryPlanComponent.set [as planXml] (file:///Users/mairvine/code/sqlopsstudio/out/sql/parts/queryPlan/queryPlan.component.js:36:20)
    at QueryPlanComponent.ngOnInit (file:///Users/mairvine/code/sqlopsstudio/out/sql/parts/queryPlan/queryPlan.component.js:29:30)
    at checkAndUpdateDirectiveInline (/Users/mairvine/code/sqlopsstudio/node_modules/@angular/core/bundles/core.umd.js:10822:19)
    at checkAndUpdateNodeInline (/Users/mairvine/code/sqlopsstudio/node_modules/@angular/core/bundles/core.umd.js:12245:17)
    at checkAndUpdateNode (/Users/mairvine/code/sqlopsstudio/node_modules/@angular/core/bundles/core.umd.js:12184:16)
    at debugCheckAndUpdateNode (/Users/mairvine/code/sqlopsstudio/node_modules/@angular/core/bundles/core.umd.js:12887:59)
    at debugCheckDirectivesFn (/Users/mairvine/code/sqlopsstudio/node_modules/@angular/core/bundles/core.umd.js:12828:13)
    at Object.eval [as updateDirectives] (ng:///ModuleClass/QueryOutputComponent.ngfactory.js:145:5)
@MattIrv
Copy link
Contributor Author

MattIrv commented May 25, 2018

May be related to #1425

@adsbot adsbot bot locked and limited conversation to collaborators Mar 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant