Posted by Aliy on August 8, 2007 at 8:08am
Jump to:
| Project: | Question |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | codepoet |
| Status: | closed (fixed) |
Issue Summary
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.
Comments
#1
Fixed. It wasn't being passed into the node form properly.
#2
Automatically closed -- issue fixed for two weeks with no activity.