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.
When I press finish button I get this error.
Notice: Undefined property: stdClass::$field_dragdrop_image in DragDropResponse->score() (line 336 of ../sites/all/modules/quiz_drag_drop/quiz_drag_drop.classes.inc).
PS. users should have a feed back feature.
Comment | File | Size | Author |
---|---|---|---|
#3 | quiz-drag-drop-undefined_property-1942580-3.patch | 980 bytes | Edwin Knol |
Comments
Comment #1
npscode CreditAttribution: npscode commentedHi Farrisimin,
Can you please send me steps to reproduce this issue, i am not able to reproduce.
Thanks,
Naren.
Comment #2
qmhao99 CreditAttribution: qmhao99 commentedI am still seeing the same error message with version 7.x-1.4. This is what I experienced:
- Compose a quiz with all questions of Drag and Drop question type.
- Take the quiz.
- Answer all questions.
- Press the Finish button after answering all questions and the above error occurs (now the Line# is 338 instead of 336).
- Together with the above error message, I also see the following:
- All questions except for the last question show incorrect answers with a score 0 of x, even though all questions were answered correctly.
- Only the last question shows correct scoring.
- If I go to the Results tab, the Score column always shows 100% passed, regardless of the actual score.
- But if I click the "view" link below the user name, it always shows the following:
got 0 of 0 possible points.
Total score: 0 %
BTW, this is a very nice module! Hope this helps debug the issue.
Comment #3
Edwin KnolMaybe this can help somebody.