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 |
Jump to:
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
Fixed. It wasn't being passed into the node form properly.
#2
Automatically closed -- issue fixed for two weeks with no activity.