-
Notifications
You must be signed in to change notification settings - Fork 67
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
Article access records are being recorded with the wrong galley type #3394
Labels
bug
Something's not working
Comments
mauromsl
added a commit
that referenced
this issue
Feb 14, 2023
mauromsl
added a commit
that referenced
this issue
Feb 14, 2023
mauromsl
added a commit
that referenced
this issue
Feb 14, 2023
mauromsl
added a commit
that referenced
this issue
Feb 14, 2023
mauromsl
added a commit
that referenced
this issue
Feb 22, 2023
mauromsl
added a commit
that referenced
this issue
Feb 22, 2023
mauromsl
added a commit
that referenced
this issue
Feb 22, 2023
mauromsl
added a commit
that referenced
this issue
Feb 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When a new article access is recorded, sometimes the value is recorded as "view" rather than say "PDF" or "XML".
Janeway version
Janeway v1.4.3
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When an article access of type "view" is recorded, the galley type should match that article's galley type. When no galley is available, the galley type should be set to None, which can be interpreted as visiting the abstract page.
Additional context
This bug has surfaced due to the default galley type having been set as "view":
https://github.com/BirkbeckCTP/janeway/blob/5d1da6a5d2fc2d1eb9881e7955e987dace41a9e8/src/metrics/logic.py#L217
The text was updated successfully, but these errors were encountered: