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

Questions are not saved when you add them to a quiz from the question bank #1176

Open
crystalsherrah opened this issue Nov 17, 2020 · 0 comments

Comments

@crystalsherrah
Copy link

crystalsherrah commented Nov 17, 2020

IF YOU DO NOT FOLLOW THIS TEMPLATE, YOUR ISSUE MAY BE CLOSED!!

Please provide the following information when creating your issues:

Site Info

WordPress Version: 5.5.3
QSM Version: 1.7.7
Browser: Chrome

General description

When I am adding questions from the question bank and click back to the questions tab after it saves, the new questions are gone. I tried creating a new quiz and right away adding questions from the bank and some stayed but when I tried to add the 8th questions it disappears again.

Link to quiz or screenshot (if relevant):

Expected behavior

Add new question from question bank to quiz.

Actual behavior

Question does not appear in the list on the quiz you are adding it to.

Steps to reproduce the behavior

Make a quiz, add some questions, click to a different page and come back to the quiz. Then add another question from the question bank, wait for it to save and click a different tab in the quiz settings then go back to your quiz.

PS. When I looked in the console I saw this message:

Uncaught TypeError: Cannot read property 'get' of undefined
at Object.addQuestionToPage (qsm-admin-question.js?ver=7.1.7:304)
at loadSuccess (qsm-admin-question.js?ver=7.1.7:199)
at Object.i.success (backbone.min.js?ver=1.4.0:2)
at i (load-scripts.php?c=0&load[chunk_0]=jquery-core,utils&ver=84a59b181e0c463902423ad62daec011:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[chunk_0]=jquery-core,utils&ver=84a59b181e0c463902423ad62daec011:2)
at x (load-scripts.php?c=0&load[chunk_0]=jquery-core,utils&ver=84a59b181e0c463902423ad62daec011:4)
at XMLHttpRequest.c (load-scripts.php?c=0&load[chunk_0]=jquery-core,utils&ver=84a59b181e0c463902423ad62daec011:4)

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

1 participant