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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lardfw created an issue. See original summary.

lu_smithcon’s picture

Issue summary: View changes
lu_smithcon’s picture

I 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.

djdevin’s picture

Version: 7.x-5.0-beta1 » 7.x-5.x-dev
Status: Active » Needs review
FileSize
9.55 KB

Cleaned up saveNodeProperties()

Status: Needs review » Needs work

The last submitted patch, 4: getting_undefined-2600524-4.patch, failed testing.

The last submitted patch, 4: getting_undefined-2600524-4.patch, failed testing.

The last submitted patch, 4: getting_undefined-2600524-4.patch, failed testing.

nithinkolekar’s picture

@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.