When clicking on "Load Saved Query" and selecting the queries saved for the user, the DQT complete crashes (blank page).
I'm not able to replicate this on my VM or on demo, but the issue occurs on the Test VM. It's possible that it's configured incorrectly.
@kongtiaowang Could you look into why this is not working on testing? Thanks!
@johnsaigle demo is on 21
Good to know. Still seems to work when I check out 22.0-release locally.
Seems to be an issue on the Test VM, not the code.
@ridz1208 @kongtiaowang Could one of you verify this on the back-end of the test VM? It would be good to check whether the test VM is set up correctly. Checking the error log will help.
@johnsaigle I wouldn't even know what to look for.
any suggestions ?
I would just click "Load Saved Query" and see what the error log says. I imagine there's a 500 error happening because the module doesn't load anything on that VM
I was trying right now and the User Saved Queries is not actually a button
Load Saved Query
that's the button. "User Saved Queries" is a header separating links that are supposed to appear.

"test" and "admin: testquery2" are the links.
I dont have either of those
ill create one
I tried it out, I'm having no issues

@cmadjar could you try it again ?
@ridz1208 I'm having issues when click on the "Load Saved Query" button on my setup of LORIS for the DQT. The "User Saved Queries" & "Shared Saved Queries" menu options are unresponsive. So I think the issue still exists.
It's possible that your VM isn't set-up to connect to CouchDB properly. Does your error log show anything?
@johnsaigle I just checked and error log is empty. The Define Filters has data in it. Similar with the Define Fields. The frontend isn't outputting any errors to console as well.
Hm alright. I wonder if maybe the JS didn't get compiled?
If it did and that's not the problem, we should improve error handling in this module.
these might be related
theres a PR going to 21 for it
I retested it on test-loris-dev.loris.ca. I had to save first a query and then loading the saved query worked.
However, on testing there is an admin_ query in the saved queries that does not have any fields defined and when I click on this one, I get a blank page... Probably testing or RB related? @ridz1208?
@cmadjar honestly i dont have the DQT knowledge to know... @driusan any ideas ?
I would guess either #5399 related or a similar issue when there's an empty query present.
I put discussion required cuz at this point i'm not sure anymore how to get this through, noone seems to be able to test it properly and i never know which bugs are completely unrelated and which are caused by this
@ridz1208 I debug it on testing VM. It seems like that is the only one CouchDB works fine.
Now that it's merged, was this fixed by #5399?
seems to be fixed on test VM