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.
Getting 'Notice: Undefined property: stdClass::$revision in MultichoiceQuestion->saveNodeProperties() (line 118 of /path/to/drupal/sites/all/modules/quiz/question_types/multichoice/multichoice.classes.inc)' when adding quiz questions to a quiz through questions bank. It may be relevant that the questions were imported using node export.
Comment | File | Size | Author |
---|---|---|---|
#4 | getting_undefined-2600524-4.patch | 9.55 KB | djdevin |
Comments
Comment #2
lu_smithcon CreditAttribution: lu_smithcon commentedComment #3
lu_smithcon CreditAttribution: lu_smithcon commentedI get this regardless of whether the question was imported or created then added through the manage questions > questions bank. I do not get it if I create a new question through the manage questions > create new question interface. This is happening for both alpha10 and beta1 versions. I realize it is just a notice. Just passing on the info.
Comment #4
djdevinCleaned up saveNodeProperties()
Comment #8
nithinkolekar CreditAttribution: nithinkolekar commented@djdevin
this old issue is still present in 7.x-5.1+4-dev could you update the patch so it can be tested and set as RTBC.