-
Notifications
You must be signed in to change notification settings - Fork 122
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
File analytics page throwing an error #5955
Comments
It seems like the correct method may now be Edit: Or maybe not, it looks like hyrax 3.3 intentionally changed over to using the |
@orangewolf @alishaevn @sara-g @no-reply and others that were involved with the analytics updates, I was wondering if you'd be able to advise on whether changing file_download_stat.rb and statistic.rb back to using |
Descriptive summary
The "Analytics" page for FileSet objects is throwing an error in 3.x and 4.0. It can be viewed in nurax here:
https://nurax-dev.curationexperts.com/files/mg74qm227/stats?locale=en
And I get a similar error in my local 3.5.0 repository, which is using google analytics for stats.
Its also worth noting that if you provide a ID that doesn't exist for an analytics link (works or filesets), there is an uncaught error thrown
https://nurax-dev.curationexperts.com/files/mg74qnope/stats?locale=en
https://nurax-dev.curationexperts.com/works/db78tnope/stats?locale=en
Expected behavior
File analytics pages loads.
Actual behavior
It throws an error.
Steps to reproduce the behavior
https://nurax-dev.curationexperts.com/files/mg74qm227/stats?locale=en
Or visit the Analytics link from a FileSet page in a hyrax 3+ instance.
The text was updated successfully, but these errors were encountered: