Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

[statistics] bug fix - projectID issue#9170

Merged
driusan merged 2 commits intoaces:mainfrom
kongtiaowang:2024-03-27-statistics_site_fix
Apr 4, 2024
Merged

[statistics] bug fix - projectID issue#9170
driusan merged 2 commits intoaces:mainfrom
kongtiaowang:2024-03-27-statistics_site_fix

Conversation

@kongtiaowang
Copy link
Contributor

@kongtiaowang kongtiaowang commented Mar 27, 2024

fix issue
#9137
[CRITICAL] /var/www/Loris/php/libraries/User.class.inc:476: Uncaught TypeError: User::hasProject(): Argument #1 ($projectID) must be of type ProjectID, string given, called in /var/www/Loris/modules/statistics/php/statistics_site.class.inc on line 134 and defined in /var/www/Loris/php/libraries/User.class.inc:476
Bug
https://test-dev-260.loris.ca/statistics/statistics_site/?CenterID=2&ProjectID=1

@kongtiaowang kongtiaowang added the 26.0.0-bugs Issues that were raised during the release testing for 26.0.0 label Mar 27, 2024
@regisoc regisoc self-assigned this Mar 28, 2024
Copy link
Contributor

@regisoc regisoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Tested on my vm, when a project is selected, no 500 error is generated and redirection is working.

@driusan driusan merged commit 053dff6 into aces:main Apr 4, 2024
@ridz1208 ridz1208 added this to the 26.0.0 milestone Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

26.0.0-bugs Issues that were raised during the release testing for 26.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants