Skip to content
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

Users report endpoint produces a 500 error #10828

Closed
kaitlinnewson opened this issue Jan 21, 2025 · 2 comments
Closed

Users report endpoint produces a 500 error #10828

kaitlinnewson opened this issue Jan 21, 2025 · 2 comments
Assignees
Labels
Bug:1:Low A bug that does not have a severe consequence or affects a small number of users.
Milestone

Comments

@kaitlinnewson
Copy link
Member

kaitlinnewson commented Jan 21, 2025

Describe the bug
When exporting a list of users, a 500 error is produced and no report is downloaded. No additional error log messages are displayed.

To Reproduce
Steps to reproduce the behavior:

  1. Login as an admin/JM
  2. Go to Statistics > Users
  3. Click Export, then Export again near the bottom (select any user groups or leave the default)
  4. See error

Expected behaviour
A list of users based on the selection should be generated with a downloaded CSV file.

What application are you using?
OJS, OMP or OPS version main

Additional information

[Tue Jan 21 09:31:32 2025] [::1]:60475 [500]: GET /index.php/publicknowledge/api/v1/users/report?userGroupIds[]=2&userGroupIds[]=3&userGroupIds[]=4&userGroupIds[]=5&userGroupIds[]=6&userGroupIds[]=7&userGroupIds[]=8&userGroupIds[]=9&userGroupIds[]=10&userGroupIds[]=11&userGroupIds[]=12&userGroupIds[]=13&userGroupIds[]=14&userGroupIds[]=15&userGroupIds[]=16&userGroupIds[]=17&userGroupIds[]=18&userGroupIds[]=19

PRs
pkp-lib --> #10832
ojs --> pkp/ojs#4616 [TEST ONLY]

@kaitlinnewson kaitlinnewson added the Bug:1:Low A bug that does not have a severe consequence or affects a small number of users. label Jan 21, 2025
@kaitlinnewson kaitlinnewson added this to the 3.5 Internal milestone Jan 21, 2025
@touhidurabir touhidurabir self-assigned this Jan 22, 2025
touhidurabir added a commit to touhidurabir/pkp-lib that referenced this issue Jan 22, 2025
touhidurabir added a commit to touhidurabir/ojs that referenced this issue Jan 22, 2025
touhidurabir added a commit to touhidurabir/pkp-lib that referenced this issue Jan 22, 2025
touhidurabir added a commit to touhidurabir/ojs that referenced this issue Jan 22, 2025
touhidurabir added a commit that referenced this issue Jan 23, 2025
@touhidurabir
Copy link
Member

fixed by #10832

@Tribunal33
Copy link

@touhidurabir and @kaitlinnewson please assign 3.5 bugs to me. I'll close them down once I've QA'd it. I have a QA Space for Home page links that I'm trying to scope out some potential automation around. But confirmed the issue is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug:1:Low A bug that does not have a severe consequence or affects a small number of users.
Projects
None yet
Development

No branches or pull requests

3 participants