Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi. My client and I noticed that when we're taking a Quiz, sometimes the question's body field (in this case, a Multiple choice question) disappears from the rendered HTML. From memory, I've only noticed it when answering the question, clicking the 'Next' link, then clicking the 'Back' link to change an answer.
Whatever's causing the issue is not showing up in the Firebug console log or the Drupal log messages.
Comment | File | Size | Author |
---|---|---|---|
screen_shot_missing_body.png | 537.12 KB | granticusiv |
Comments
Comment #1
dean.p CreditAttribution: dean.p commentedI have the same problem, only in Multi-choice questions. Rendered HTML is:
<div class="quiz-question-body"></div>
Comment #2
dean.p CreditAttribution: dean.p commentedJust further on this, I wonder if this has something to do with the revisioning of questions. I corrected some multichoice questions (and did not create a revision, using a patch from another issue thread) which may have mucked something up as the question options are displaying, but not the body text (which has the question text).
Comment #3
granticusiv CreditAttribution: granticusiv commentedHi Dean
Do you find the question body displays sometimes but not others? I haven't noted any relation to the revision of questions but can't rule that out.
Comment #4
granticusiv CreditAttribution: granticusiv commentedWhen I deleted the Question field, saved the node (no revision), then added the Question field back in and saved (again, no revision), it started displaying the question again. It looks like it's related to https://www.drupal.org/node/2257431
Comment #5
djdevinThis issue is being closed because it was filed against a Beta version of Quiz 4 that is no longer supported.
Quiz 4 is now in RC status.
If the issue still persists in the latest RC of Quiz 4, please open a new issue.