quid is 0 in all records in question_node table

Aliy - August 8, 2007 - 08:08
Project:Question
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:codepoet
Status:closed
Description

When inserting new row in the question_node table, question_validate function works fine, and $node->quid is correct. But something happens after that, before query_insert call. In query_insert $node->quid is already empty, and correspondingly 0 comes to quid field in the question_node table.

I used a workaround - just reassigned $node->quid in question_insert in the same way as it is done in question_validate.

#1

codepoet - October 25, 2008 - 05:25
Version:4.7.x-1.0» 6.x-1.x-dev
Assigned to:Anonymous» codepoet
Status:active» fixed

Fixed. It wasn't being passed into the node form properly.

#2

Anonymous (not verified) - November 8, 2008 - 05:31
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.