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

fix(CM): Admin can't launch CM for other teachers' runs #283

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

hirokiterashima
Copy link
Member

Changes

Fixes issue where admin could not open CM by another teacher via directly changing run ID in the URL.

This pull request includes a small change to the InformationController.java file. The change ensures that the method getWorkgroup checks if the workgroupListByRunAndUser list is not empty before accessing its first element, which prevents potential IndexOutOfBoundsException.

@hirokiterashima hirokiterashima added the bug Something isn't working label Nov 19, 2024
@hirokiterashima hirokiterashima self-assigned this Nov 19, 2024
@hirokiterashima hirokiterashima merged commit 51cac64 into develop Nov 19, 2024
3 checks passed
@hirokiterashima hirokiterashima deleted the fix-admin-cant-launch-cm branch November 19, 2024 16:58
@hirokiterashima
Copy link
Member Author

🎉 This PR is included in version 1.4.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant