On taking a quiz, I get the following message in the log: Theme key "node_form" not found.

It seems similar to this issue (http://drupal.org/node/1218028), however it occurs on taking a quiz rather than adding a new one.

I have a the Quiz-core module with Quiz-question and MultiChoice modules enabled, and the testquiz consists of merely MC-questions.

Files: 
CommentFileSizeAuthor
#1 theme_node_form-1874736-1.patch455 bytesultimike

Comments

Version:7.x-4.0-alpha12» 7.x-4.x-dev
Issue summary:View changes
Status:Active» Needs review
StatusFileSize
new455 bytes

I'm seeing the same thing in my site logs and I think it has to do with the fact that there is no theme_node_form default function. Here's some background (https://drupal.org/node/775012), but I think the solution is to simply remove the return theme('node_form', array('form' => $form)); line from theme_quiz_node_form($variables) in quiz/quiz.admin.inc

In my quick testing of this, there were no ill effects (since the theme hook doesn't exist anyway) and the error no longer appears in the log.

I've attached a patch.

Thanks,
-mike