Botframework-solutions: [Virtual Assistant Template] mainDialog not working for message events

Created on 8 Jan 2020  ·  4Comments  ·  Source: microsoft/botframework-solutions

What project is affected?

botbuilder-solutions

What language is this in?

Typescript

What happens?

The bot seems to be unable to resolve the promise on routerDialog.js
const status = await this.onInterruptDialog(innerDc);
when the event is a message

What are the steps to reproduce this issue?

I've just replaced the onboardingdialog with an OAuth dialog

What were you expecting to happen?

direct to route

Can you share any logs, error output, etc.?

Any screenshots or additional context?

Screenshot 2020-01-08 at 16 03 00

Needs Triage Bug

Most helpful comment

After deactivating the following middlewares:
this.use(new TranscriptLoggerMiddleware(transcriptStore));
this.use(new ShowTypingMiddleware());
An error finally shows on the botframework emulator:

Screenshot 2020-01-09 at 09 35 53

I'm still looking for the source. What it seems strange to me it's that the problem is with LUIS intentions, and the code never reaches the route method of the mainDialog.
I would love to hear any feedback that you might have.

Thanks,
Nestor

All 4 comments

Hi @nestoralonsovina, thanks for reporting this issue!

  1. Can you provide the necessary repro steps to reproduce your scenario?
  2. Are you using the sample-assistant of master branch?
  3. Which version are you using of botbuilder-solutions? Can you check if it's [email protected] which is the latest of npmjs?

Currently, we are migrating the latest changes of 0.7Beta Release to the TypeScript solutions (including botbuilder-solutions library)

Thank you,
Diego

Hi @nestoralonsovina, thanks for reporting this issue!

  1. Can you provide the necessary repro steps to reproduce your scenario?
  2. Are you using the sample-assistant of master branch?
  3. Which version are you using of botbuilder-solutions? Can you check if it's [email protected] which is the latest of npmjs?

Currently, we are migrating the latest changes of 0.7Beta Release to the TypeScript solutions (including botbuilder-solutions library)

Thank you,
Diego

We're using the master branch of the virtual assistant template (it's the same as the one generated 2-3 weeks ago with yeoman I suppose) and version 4.4.9 of botbuilder-solutions

Steps to reproduce the bug are difficult to give, and one of the reasons I was a bit reluctant to open this issue. It suddenly appeared two days ago, I've tried creating a template for scratch and simply copy-pasting the config files (appsettings.json and cognitivemodels.json) and it still does not work, with the error appearing on the same spot.

We're running the bot locally with the botframework emulator (with ngrok), both on Windows and macOS, we've also tried to deploy the bot and it persists on the web chat and teams.

I think this is all the information I can give you, and maybe you have something to say about how we could fix it.

Thanks,
Nestor

After deactivating the following middlewares:
this.use(new TranscriptLoggerMiddleware(transcriptStore));
this.use(new ShowTypingMiddleware());
An error finally shows on the botframework emulator:

Screenshot 2020-01-09 at 09 35 53

I'm still looking for the source. What it seems strange to me it's that the problem is with LUIS intentions, and the code never reaches the route method of the mainDialog.
I would love to hear any feedback that you might have.

Thanks,
Nestor

We've finally arrived at an incompatibility between two intentions in LUIS, therefore I close the issue since it's not related to the template.

Thanks.

Was this page helpful?
0 / 5 - 0 ratings