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
If a teacher is not part of a school and attempts to save a created level, they get the following error and the level is not saved:
As evidenced by the GCP logs, this might be due to an inaccurate check in level_editor.py's save_level_for_editor which is meant to check whether the user is in a school or not but actually just checks whether the user is an independent or not:
To fix the bug, this if check will probably have to be changed.
Steps to reproduce the bug:
Log in as a teacher with no school (or, log in as a standard teacher then leave the school, or delete the school in the Django admin panel)
Go straight to the Rapid Router Level Editor without adding a school
Create a valid level and attempt to save it
The error shown above should appear
The text was updated successfully, but these errors were encountered:
Hello, while running the website through a dev container on my local machine, I attempted to make a teacher account that wasn't connected to a school. Unfortunately, I could not sign in to my account since it needed an email verification - and that email never arrived. Do I have to manually add a teacher record with '0' as the school ID?
When running the app locally, all emails are printed in the console. You can inspect the console and grab the verification link embedded in the printed email. Remember that emails are basically just HTML docs under the hood - so look for a bunch of printed HTML.
If a teacher is not part of a school and attempts to save a created level, they get the following error and the level is not saved:
As evidenced by the GCP logs, this might be due to an inaccurate check in
level_editor.py
'ssave_level_for_editor
which is meant to check whether the user is in a school or not but actually just checks whether the user is an independent or not:To fix the bug, this
if
check will probably have to be changed.Steps to reproduce the bug:
The text was updated successfully, but these errors were encountered: