microsoft / teams-ai

SDK focused on building AI based applications and extensions for Microsoft Teams and other Bot Framework channels
MIT License
408 stars 177 forks source link

[Bug]: C# - In TypeAheadBot, the dynamic search submit does not work. #486

Open singhk97 opened 1 year ago

singhk97 commented 1 year ago

Please note: any submissions with insufficient reproducible information will be marked as 'Waiting for customer input' and may be closed is there is no response

Describe the bug

In the type ahead bot, when using the dynamic card, if you search for a package on NuGet, select it, and then click submit, an error will show up on the Teams Client. The submit request will not get to the bot server.

image

This error message is configured in the adaptive card, which means that it could be something related to the adaptive card structure.

To Reproduce

Steps to reproduce the behavior:

  1. Go to TypeAheadBotSample
  2. Follow read me instructions to run it on Teams
  3. Send "dynamic" message to the bot. It will then return a dynamic card.
  4. In the search bar, search for "Microsoft". Wait till a list of random NuGet packages load.
  5. Now select any one of it, and click submit. You will see the error.

Expected behavior

Provide a clear and concise description of what you expected to happen.

The expected behavior is that the bot will send you a message saying "dynamically selected option is: {id of selected item}".

Ex. image

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop(s) (please complete the following information):

Smartphone (please complete the following information):

Additional context

Add any other context about the problem here.

corinagum commented 1 year ago

This was the JS fix: https://github.com/microsoft/teams-ai/pull/461

kuojianlu commented 11 months ago

This is a Teams bug and I've ever created an issue in Teams samples repo, see details: https://github.com/OfficeDev/Microsoft-Teams-Samples/issues/868.

singhk97 commented 10 months ago

Let's keep this issue open until Teams resolve this bug.

corinagum commented 5 months ago

Fix/workaround for JS: https://github.com/microsoft/teams-ai/pull/1557