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

error while trying to x-ray a table #7538

Closed
VikramTiwari opened this issue May 3, 2018 · 7 comments
Closed

error while trying to x-ray a table #7538

VikramTiwari opened this issue May 3, 2018 · 7 comments
Assignees
Labels
Priority:P1 Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness Querying/X-rays
Milestone

Comments

@VikramTiwari
Copy link
Contributor

VikramTiwari commented May 3, 2018

  • Your browser and the version: Chrome latest

  • Your operating system: OS X latest

  • Your databases: BigQuery

  • Metabase version: 0.29.0

  • Metabase internal database: MySQL

  • Repeatable steps to reproduce the issue
    Tried to get x-rays for a table going from data reference and saw this error happen. Page URL: http://localhost:3000/auto/dashboard/table/3023

After clicking on x-ray this table, it tries to load the page and crashes on the first try. Every subsequent retry to load the URL gives this error in console.

screen shot 2018-05-02 at 23 22 57

@sbelak
Copy link
Contributor

sbelak commented May 3, 2018

Can you show me what http://localhost:3000/api/automagic-dashboards/table/3023 returns? Also are there any errors in the log or network inspector in the browser?

@sbelak sbelak self-assigned this May 3, 2018
@sbelak sbelak added Querying/X-rays Priority:P1 Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness labels May 3, 2018
@sbelak sbelak added this to the 0.29.1 milestone May 3, 2018
@VikramTiwari
Copy link
Contributor Author

Here you go:
screen shot 2018-05-02 at 23 47 25
screen shot 2018-05-02 at 23 48 32

@sbelak
Copy link
Contributor

sbelak commented May 3, 2018

Can you show me what
http://localhost:3000/api/automagic-dashboards/table/3023 and
http://localhost:3000/api/table/3023 (from here I just need what the value of entity_type field is)
return

@VikramTiwari
Copy link
Contributor Author

Thanks for your patience through this. Entity type is null and first query doesn't return any value.
screen shot 2018-05-03 at 00 20 45

screen shot 2018-05-03 at 00 23 19

@sbelak
Copy link
Contributor

sbelak commented May 3, 2018

Got it. Last question: do you have automatic sync enabled or disabled?
screenshot 2018-05-03 09 27 30

@VikramTiwari
Copy link
Contributor Author

It's in the default state in UI which means Autosync is enabled. I have also manually synced both schema and field values just now and re-tried the request for the table to get the null result for entity_type.

@sbelak
Copy link
Contributor

sbelak commented May 8, 2018

Fixed in #7548. Thanks for your help!

@sbelak sbelak closed this as completed May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:P1 Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness Querying/X-rays
Projects
None yet
Development

No branches or pull requests

2 participants