-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Some questions with old field dimensions or changed columns cannot be viewed, because of Javascript loop #18630
Comments
Diff of
|
Ok, after waiting for devtools for a few minutes they did load the profile after all. I got following console errors:
The profile page does not render reliably, but when it worked it did look something like infinite recursion. |
I guess |
Hi @mlazowik |
Hi @flamber. I upvoted it because I'm also having the same issue after I update metabase. I had to go back to the v0.40.5 for it to work properly. My dashboards all work normally and show the questions. But if I try to open a question to edit it, I also get stuck at the loading page for a solid 5 minutes, and I also can't open my metabase in a new page. Unfortunalety I didn't find any new information about what is causing this... I'm also somewhat new to metabase and debbuging. If you need any information and can provide me a way to get it, I'll be glad to do my best to help! |
Indeed, this is most likely caused by There is something about their query metadata/structure that causes an infinite loop. @mfazekas @andre-sca it would be very helpful if you could share an anonymised
This should return a JSON describing the question. You can use a cookie from your browser, here's an example of me copying and using a cookie from my local Metabase: Screen.Recording.2021-10-25.at.11.29.50.mov |
I had it saved to a file already, anonymized it now and pasted here: https://pastebin.com/j3E0Mzm7 Is this enough or do the metadata queries to saved questions this is based on matter too? I'd need to spin up v41 again to get those from that version. |
@mlazowik thank you! This should be enough, no need to spin up 41 again |
@flamber thank you for the repro steps, I'll look into the issue now |
Describe the bug
After updating from v0.40.5 to v0.41.1 some of the existing questions do not load in the single question view (including notebook). When opening the page gets stuck on "Loading" (the spinner does continue animating), browser rendering thread runs at over 100% cpu, no actions on the page work (hover, click, even right click for browser menu. I can't even open another url in the same tab after this, the only thing I can do is close the tab.
Logs
It's clearly a browser-side issue, I've tried getting a performance trace of what is going on, but so far no luck – I can start profiling before loading the page, but when I stop profiling it doesn't finish processing the profile. I'll be trying more.
To Reproduce
Here's the tricky part I'm really not sure. I haven't found any regularity in which questions load and which don't, and to be honest it's not that easy to do. I put more hope in the results of the profile, or maybe I could also prepare anonymized results of API calls from the page load.
Expected behavior
Question loads.
Screenshots
Information about your Metabase Installation:
94.0.4606.81
, Safari Technology PreviewRelease 133 (Safari 15.4, WebKit 16613.1.2.2)
20G165
)0.41.1
Severity
It's blocking the update, for now I've reverted.
Additional context
I know that currently this might be completely unreproducible, I'm opening now so that maybe others with the same problem can chip in, I'll try to get better info later.
The text was updated successfully, but these errors were encountered: