quiz_master_next icon indicating copy to clipboard operation
quiz_master_next copied to clipboard

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

Open crystalsherrah opened this issue 5 years ago • 0 comments
trafficstars

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)

crystalsherrah avatar Nov 17 '20 17:11 crystalsherrah