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

Widget does not preview the quiz for users who are not logged in #684

Open
1 task
nygrenh opened this issue Feb 1, 2021 · 1 comment
Open
1 task

Widget does not preview the quiz for users who are not logged in #684

nygrenh opened this issue Feb 1, 2021 · 1 comment
Assignees

Comments

@nygrenh
Copy link
Member

nygrenh commented Feb 1, 2021

TypeError: y.items is undefined

  • Include items in preview endpoint

https://ohjelmointi-21.mooc.fi/osa-1/5-ehtorakenne#quiz-1d2102eb-0c2f-5185-a240-9814db357c8a

@Technopathic
Copy link
Contributor

Technopathic commented Feb 12, 2021

Here are the steps I took:

  1. Logged in (Quiz works fine)
  2. Logging out throws y.items is undefined error in Firefox and length undefined in Chrome.
  3. Reloading / Cache Clear (Issue is unresolved)

Here is a branch for debugging:
https://elements-of-ai-material-git-quiz-widget-update.mooc.vercel.app/1/1

Scrolling down the page to the quiz and having logged out, the error should be visible.

@nygrenh nygrenh changed the title Widget login crash Widget does not preview the quiz for users who are not logged in Feb 15, 2021
@nygrenh nygrenh assigned HegePI and unassigned kalleprkl May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants