Germandrummer92 / TalkingRobot

PSE
0 stars 0 forks source link

Switching the dialog beside from StartDialog #16

Closed rosine closed 10 years ago

rosine commented 10 years ago

there are problems with switching the dialogs. for example, i taught the system a new recipe and afterwards used "can you help me with [recipe name]". a cast error occurs because RecipeLearningDialog cannot be casted to RecipeAssistanceDialog. Also. I used the CanteenRecommendation and got a recommendation at line 3. Then I asked the system where line three is, but another cast error occured which was a bit different from the other one. The error was the cast from the enum CanteenRecom to CanteenInfo.

Germandrummer92 commented 10 years ago

Problem persists in CanteenRecommendation, CanteenInformation and RecipeLearningDialog for me. KitchenAssistance, RecipeAssistance and StartDialog are working for me, is it working for you too (to change states out of this class).

I changed the exception throwing case, but I think, the problem is, the KeywordJump method is either wrong (I think in RecipeLearningDialog it is, I don't get any exception for any keyword after entering a keyword, it just doesn't jump), or the exception throwing should be AFTER the keyword jump for both the canteen dialogs, but not entirely sure.

narigaoka commented 10 years ago

yes, KA, RA and S work for me, too. now i've also been able to switch from CR to KA.

alexaand commented 10 years ago

Do you mean after the Exit state is reached or before?

alexaand commented 10 years ago

I think now it works (at least i was able to switch from RL to RA in the middle of the dialog when I was telling the ingreds)

luizhsilva commented 10 years ago

it works for me too.

rosine commented 10 years ago

it seems I can't leave CR

rosine commented 10 years ago

now it works....

luizhsilva commented 10 years ago

I supposed this is working now? Reopen it if not.