• Resolved Nichlas Brandon

    (@calorius)


    Hello LifterLMS team,

    I have spotted what seems to be a bug on two entirely different sites.

    When a student completes a course quiz, some of the answers are randomly not recorded in the Attempt dropdowns in the backend. (LifterLMS > Reporting > Students > [student name] > [course name] > [quiz])

    See this screenshot: https://gyazo.com/c667d79fd4b5b8fb9823753a4207bf44

    Having gone through the quiz multiple times doing everything the same way, I’ve found that:

    • The error happens most of the time (meaning that sometimes it successfully records all answers)
    • The answers that end up not being recorded changes randomly, so there is no consistency
    • It happens to both correct and wrong answers—so again no consistency

    As far as I can tell, though, the score for each quiz is still calculated accurately despite the answers not appearing.

    So a student’s results don’t seem to be affected by this bug.

    I’ve successfully replicated this error on a fresh WordPress install using LifterLMS’ sample course quiz (this quiz has only 2 questions; most of the time the answer for one of the questions is not recorded.)

    See screenshot: https://gyazo.com/bb0ed467c3b7ed1c2152f61fdea9a50d

    Can you confirm this on your end?

Viewing 4 replies - 1 through 4 (of 4 total)
  • @calorius,

    I’m sorry to say that I’m not able to reproduce this at all using a local test site and the same demo quiz…

    I’m curious if this is an issue with connectivity of your server. LifterLMS quizzes are handled entirely via AJAX so it’s conceivable that this can reliably be unreliable if your server was responding slowly to AJAX requests. I’ll do some more testing around handling slow connections to have some onscreen feedback if that happens and prevent the dropout.

    Can you take a look at the sticky and send me a copy of your system report: https://wordpress.org/support/topic/read-this-before-posting-11/

    Additionally, if your fresh example test is publicly accessible, please let me know and make it so I can register a student there and take this quiz, I’d like to see what’s happening during the AJAX calls on your site specifically.

    I feel like my response may appear as if I’m brushing you off — I AM NOT — I am musing on what could be the issue here (because you’re right, there is one). But I’m not sure it’s simply a “bug” that I can track down and root out. I think this may be a little more complicated and more specific and, for that, I need some more information before I can do anything else. Thanks for understanding!

    Thread Starter Nichlas Brandon

    (@calorius)

    Hey @thomasplevy,

    I’ve submitted a support ticket on LifterLMS.com to provide you the details privately.

    Conversation ID: 363324054

    – Nichlas B.

    @calorius,

    Thanks for the info! Found the issue and will have a patch out in the next few days.

    The issue is related to the visual reporting of quiz data. Thankfully the quiz data is intact (it’s just not being output on screen properly).

    Thanks for the catch and all the info in your ticket.

    Resolved in 3.7.7

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Quiz Answers Randomly Not Recorded in Backend’ is closed to new replies.