kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Quiz creation does not properly show the authentication wrapper

Open rtibbles opened this issue 7 months ago • 0 comments

The CoachIndexPage uses the AuthenticationWrapper component to show state if a user does not have permissions to view the page they are on. Because of uncaught errors during state loading, this never gets displayed if one is navigating directly to a quiz creation route, as seen below:

  1. When my session has ended while I've been editing a quiz then I am brought back to the sign-in page where I can sign in as a learner user in which case I am redirected back to the quiz editing page and since I don't actually have permissions to see it I am getting a blank screen:

https://github.com/learningequality/kolibri/assets/79847249/07833bde-a081-4851-8ee3-27d94dfd850e

Originally posted by @pcenov in https://github.com/learningequality/kolibri/issues/12414#issuecomment-2223181692

rtibbles avatar Jul 12 '24 15:07 rtibbles