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
Title. We noticed that after calling the questions method, followed by the reset method, it's crashing as it resets the instance, which means we can't call the questions method again. The stack trace leads here in api.js:
item.questions()item.reset()item.questions()// Crashes here
And if this is all working as intended, how is one supposed to reset the state of the question, so that a user may retry it, i.e submit a new answer? We're using hints, which is why we're using the questions method, as per your documentation example. Resetting works fine if we don't call the questions method, but then we can't get the hints.
The text was updated successfully, but these errors were encountered:
PhilipAngelinNE
changed the title
API instance method "questions" and "getQuestions" are crashing on submitted items
questionsApiInstance is null after calling reset method
Jul 4, 2023
PhilipAngelinNE
changed the title
questionsApiInstance is null after calling reset method
questionsApiInstance is null after calling questions and reset methods
Jul 4, 2023
Title. We noticed that after calling the questions method, followed by the reset method, it's crashing as it resets the instance, which means we can't call the questions method again. The stack trace leads here in
api.js
:The error happens if you do this
And if this is all working as intended, how is one supposed to reset the state of the question, so that a user may retry it, i.e submit a new answer? We're using hints, which is why we're using the questions method, as per your documentation example. Resetting works fine if we don't call the questions method, but then we can't get the hints.
The text was updated successfully, but these errors were encountered: