aces / Loris

LORIS is a web-accessible database solution for longitudinal multi-site studies.
GNU General Public License v3.0
145 stars 174 forks source link

[DQT] 404 on Saved query and delayed display #6596

Open laemtl opened 4 years ago

laemtl commented 4 years ago

In Statistical Analysis > Manage Saved Queries, after saving the current query, it does not display under Your currently saved queries until the page is refreshed.

All Publicly available queries return 404 errors when selected:

jquery-1.11.0.min.js:4 Failed to load resource: the server responded with a status of 404 (Not Found) send @ jquery-1.11.0.min.js:4 jquery-1.11.0.min.js:4 GET https://test-loris-dev.loris.ca/AjaxHelper.php?Module=dataquery&script=undefined 404 (Not Found)

AlexandraLivadas commented 4 years ago

@laemtl I observed the same issue where you must reload the page for the saved query to appear under Manage Saved Queries. However, I did not get a 404 Not Found error when selecting a publicly available saved query.

christinerogers commented 4 years ago

@ridz1208 is this actually a Raisinbread issue? is it something @AlexandraLivadas can take care of this week?

ridz1208 commented 4 years ago

@driusan where are saved queries stored ? can they somehow be added to raisinbread ?

maltheism commented 4 years ago

@laemtl did this error happen with the redesign?

ridz1208 commented 4 years ago

@maltheism its most likely instance dependent

laemtl commented 4 years ago

I didn't encounter this issue when I tested the redesign.

driusan commented 4 years ago

I believe saved queries are currently stored in CouchDB, unfortunately, so I don't think it can be solved with raisinbread.

AlexandraLivadas commented 1 year ago

Updated issue (tested on demo.loris.ca): The 404 error has been resolved. The delay in displaying a saved query under "Your currently saved queries" still persists.

ridz1208 commented 1 year ago

@AlexandraLivadas could you test it on demo-24-1.loris.ca ?