dionnejkelly / parrot-im

Automatically exported from code.google.com/p/parrot-im
0 stars 0 forks source link

Errors with ChatbotQA datatype #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run ChatbotQADataTypeTest
2. There are errors in the following functions
ChatbotQADataType(Model,String question)
AddQuestion()
RemoveQuestion()
I assume that's because model couldn't process that (no problem with 
answers)
3. There are failures in:
Removeanswer()
When you remove item 0, it doesn't go null? (maybe I'm wrong and it 
shouldn't be null maybe something else?)

What is the expected output? What do you see instead?
No error or failure

Please use labels and text to provide additional information.

Original issue reported on code.google.com by rma...@gmail.com on 16 Jul 2009 at 2:02

GoogleCodeExporter commented 8 years ago
THANK YOU RAKAN!!! I was trying to find out about this problem

Original comment by shichan....@gmail.com on 16 Jul 2009 at 3:59

GoogleCodeExporter commented 8 years ago
could you be more specific? What's wrong with adding and removing question? Is 
the
database failing or the model inconsistent? We have a vector that is available 
in
model and also a database storage. Which one is failing?

when you remove answer 0, do you still have any questions? I think the gui is 
set so
that if you add a new set of QA but either of the Q or A is empty, then it will
automatically delete (or not adding to the vector. Make sure that this is 
consistent
with the database. I am not sure if I handle the case for adding though.. Can't
really remember. 

Original comment by shichan....@gmail.com on 16 Jul 2009 at 4:08

GoogleCodeExporter commented 8 years ago
is this still an issue?

Original comment by shichan....@gmail.com on 17 Jul 2009 at 7:30

GoogleCodeExporter commented 8 years ago
checked it out, it's a non-issue

Original comment by shad...@gmail.com on 29 Jul 2009 at 11:20