There was this issue for previous versions.

This is what I have on a Drupal 7 with table prefix:

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'quiz_node_properties.vid' in 'where clause': UPDATE {quiz_node_properties} SET max_score=max_score_for_random * number_of_random_questions + ( SELECT SUM(max_score) FROM {quiz_node_relationship} qnr WHERE qnr.question_status = 1 AND parent_vid = quiz_node_properties.vid) WHERE (vid IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => 8 ) in quiz_update_max_score_properties() (line 2574 of /var/www/drupal/rudi/sites/all/modules/quiz/quiz.module).

Is the patch for 6 still good for 7 ?

Comments

falcon’s picture

Status: Active » Fixed

Fix commited. Thanks for reporting!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 1342ba5 on 7.x-4.x, 7.x-5.x by falcon:
    Fixed #1526400 reported by george.plescan: table prefixing problem
    
    

  • Commit 1342ba5 on 7.x-4.x, 7.x-5.x, quiz-pages by falcon:
    Fixed #1526400 reported by george.plescan: table prefixing problem
    
    

  • Commit 1342ba5 on 7.x-4.x, 7.x-5.x, quiz-pages, 2269219 by falcon:
    Fixed #1526400 reported by george.plescan: table prefixing problem
    
    

  • Commit 1342ba5 on 7.x-4.x, 7.x-5.x, 2269219 by falcon:
    Fixed #1526400 reported by george.plescan: table prefixing problem