Botframework-composer: Connect facebook with composer

Created on 28 Jul 2020  路  5Comments  路  Source: microsoft/BotFramework-Composer

Describe the bug

The bug happened when I connect the bot with luis and facebook, the bot received the locale as null and that cause problem and the bot on messenger doesn't response.

Version

Latest version

Browser

  • [ ] Electron distribution
  • Chrome
  • [ ] Safari
  • [ ] Firefox
  • [ ] Edge

OS

  • [ ] macOS
  • Windows
  • [ ] Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'bot composer'
  2. Click on 'the ready sample (Todo with luis)'
  3. publish and deploy
  4. follow microsoft doc to connect it with facebook
  5. run on messenger
  6. see the error

Expected behavior

work probably

Screenshots

Additional context

Bot Services Bug customer-replied-to customer-reported

All 5 comments

@Olakhrisat what value do you have set on the defaultLanguage field in your bot settings? In the case of a missing locale, it should call back to whatever language you have provided here.

@Olakhrisat what value do you have set on the defaultLanguage field in your bot settings? In the case of a missing locale, it should call back to whatever language you have provided here.

"defaultLanguage": "en-us",

Create a pr:https://github.com/microsoft/botbuilder-dotnet/pull/4344 in dotnet sdk to fix this.
It exists a workaround to fix this in composer runtime temporarily:
Add the following code in BotFramework-Composer\runtime\dotnet\core\ComposerBot.cs will resolve this issue as well.

image

Create a pr:microsoft/botbuilder-dotnet#4344 in dotnet sdk to fix this.
It exists a workaround to fix this in composer runtime temporarily:
Add the following code in BotFramework-Composer\runtime\dotnet\core\ComposerBot.cs will resolve this issue as well.

image

I resolved the issue for now but I just wanted the others to know about and fix it in the future releases. :)

Was this page helpful?
0 / 5 - 0 ratings