You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If the course registration page is accessed when it is not relevant (no registration possible or user already registered), an Exception is raised.
as the method should actually returns a tuple. It should date from the web.py to flask migration when redirect were made with raise statement, while flask actually treat them as typical Response objects.
INGInious installation details
Version v0.8+
To Reproduce
Steps to reproduce the behavior:
Copy the course registration link : /register/<course_id>
Register to the course.
Access the registration link once registered.
Expected behavior
The initial redirection or any other feedback message.
Describe the bug
If the course registration page is accessed when it is not relevant (no registration possible or user already registered), an Exception is raised.
The issue comes from these lines :
INGInious/inginious/frontend/pages/course_register.py
Lines 29 to 30 in fcb729e
as the method should actually returns a tuple. It should date from the web.py to flask migration when redirect were made with
raise
statement, while flask actually treat them as typicalResponse
objects.INGInious installation details
To Reproduce
Steps to reproduce the behavior:
/register/<course_id>
Expected behavior
The initial redirection or any other feedback message.
Reported by: @Donaschmi
The text was updated successfully, but these errors were encountered: