I found after creating the question cck type and adding the numeric field, I got an error
"Unable to complete operation. Fatal error in ........ on line 21: Cannot access empty property"
This error dissapered once I type in a number in the numeric field for the questrion. I was hoping this field should populate itself automatically.
Comments
Comment #1
jcisio commentedThat field is for the answer, not question. It is filled when the questionner click on the "select" link on one of the comments in that question.
Comment #2
ibexy commentedI see..
then something is wrong because I keep getting the above error message until I actually fill in a number via updating the question node.
Comment #3
jcisio commentedLine 21... Hmm it looks like a message from this module, question_answer.pages.inc. How do you get this error. Could you please describe how to reproduce the bug? I'm running this in dev site and another site without problem and I can't see the bug.
Comment #4
ibexy commentedthanks for your responses.
1 Create a question. (leave the number integer blank)
2 Create a response to the question.
3 View the comment and click select.
The error shows.
If I now edit the question node and add a number in the integer field. if I go back and select a comment, every thing works fine.
Comment #5
jcisio commentedCould you give the full error message? It seems that the error is like in #841528: error on select but the scenario here is different. And could you test with another user (different than user1) to see if the error persists.
Comment #6
ibexy commentedyes its the same error. I got exactly the same things. And I have defined an integer field within the question node. I have also set up everything via the configuration area.
Comment #7
jcisio commentedI don't have any idea now. If you like, PM me your host info, I'll debug. I simply can't reproduce the bug.
Comment #8
ammadx commentedA similar problem. By click the 'select' link on a comment, it does not set that comment as the best answer. i have to manually enter a comment number to the selected answer field of the question. how ever i don't get any error messages.
Comment #9
jcisio commentedCan you export your content type and use it in a new website to see if it is a bug of question_answer? Or how can reproduce the bug on a clean D6 install?
Comment #10
jcisio commentedI fixed this problem. The problem was when you click select, it always used the field "field_answer" instead of your defined field.
Comment #11
Oscar Illada commentedit would be nice a thanks :) am i wrong?
Comment #12
jcisio commentedIt would, and there was, indeed, in the other issue ;)
I take this chance to notice that 1.4 is out. Hope there will be a lot of users.
Comment #13
Oscar Illada commentedexcellent greetings for this