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

🪲 Wrong error message when inviting students to class with username #6167

Open
MarleenGilsing opened this issue Feb 7, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@MarleenGilsing
Copy link
Collaborator

I got an email from a teacher that says that they have invited a student to their class via username, but the student hasn't accepted the invition in time. When the teacher tries to invite the student again, they get an error saying that they have already invited that student eventhough the invite link has expired.

@jpelay
Copy link
Member

jpelay commented Feb 7, 2025

The invite user function checked whether the student had already gotten an invitation for the class, if that was the case it would complain. With #6032 that shouldn't be a problem.

@boryanagoncharenko
Copy link
Collaborator

I cannot replicate this issue. Every invitation a teacher extends does have an expiration time which is displayed in the class page. However, when we do not check for the expiration date of the invitation when we display it to the student or when they accept/decline it. We do not even have an error message which mentions expiration.

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

No branches or pull requests

3 participants