We seem to have run into an issue with all Data Explorer queries no longer pulling back any data after being ran post 2.5 upgrade, any suggestions on what we may be missing here?
AI-generated summary
After upgrading to Discourse 2.5, users reported that Data Explorer queries stopped returning data, displaying a blank interface. Jim.Morrison first reported the issue and shared a screenshot, prompting riking to suggest checking the browser console for JavaScript errors. codinghorror recalled a recent fix related to Data Explorer and tagged eviltrout, who advised users on the tests-passed branch to upgrade again, as the issue might already be resolved. Jim.Morrison confirmed seeing a JS error: Uncaught TypeError: Cannot read property 'javascripts/explorer/topic' of undefined, and noted they were on tests-passed. j.jaffeux identified the likely cause — the forum was not updated to the latest tests-passed version — and urged a rebuild, noting fixes were deployed that morning. Jim.Morrison agreed to perform a manual rebuild at 7pm PST. j.jaffeux reassured that topic-based queries work on the latest versions and encouraged follow-up if the issue persisted. pfaffman confirmed the fix worked on another recently upgraded site. Finally, Jim.Morrison confirmed the manual rebuild resolved the issue and thanked the community for their support.
Are there any JS errors in the browser console? This looks like an aborted render due to a JS error.
I recall someone fixing something DE related recently, maybe @eviltrout?
If you’re running tests-passed can you try upgrading again? It will likely be fixed.
If not can you tell us what errors you see, as @riking suggested, please?
Looks like I am seeing a Uncaught TypeError: Cannot read property 'javascripts/explorer/topic' of undefined when running a example query.
Confirmed version: tests-passed
Will fix this, I think I know what it is.
You are on tests-passed, but looking at your forum I think it’s been last updated 2 days ago, tests-passed is the branch, not a tag or a version. Can you try to update it again please ? Last fixes on this plugin are from this morning.
Sounds like a plan, I will do a manual rebuild tonight at 7pm PST.
Cool, let us know if it doesn’t fix it, we will dig more. Queries with topics work for us on latest version of discourse and data-explorer plugin.
Fixed it for a site that I just upgraded.
Confirmed a manual rebuild resolved this issue for us. Thank you everyone for the help!
