OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
434 stars 171 forks source link

Adaptive card reverting back to a previous adaptive card after reacting to it #11071

Open krli-fadv opened 3 months ago

krli-fadv commented 3 months ago

Describe the bug My team created a Microsoft Teams Bot application and I was testing it on my IOS device with the developer sandbox account, and I inadvertently liked an adaptive card. After I had liked it, I noticed that the adaptive card reverted back to the previous adaptive card. I tried it in the Chrome browser with the classic teams version and new version, and I experienced the same behavior.

To Reproduce Steps to reproduce the behavior:

  1. Click on the Teams Toolkit extension.
  2. In the Development section on the left, click "Create a New App".
  3. Click the option "Bot".
  4. Click the option "Chat Command".
  5. Click the option "Debug in Teams"
  6. After the Teams web client is launched, enter the command "helloWorld".
  7. Click the "DoStuff" button on the adaptive card.
  8. React to that adaptive card.

Expected behavior I expected the adaptive card not to revert back to a previous adaptive card after reacting to it. I wasn't sure if this behavior was intended and something else was required, or if it was a bug.

Screenshots

screenshot-1 screenshot-2 screenshot-3

VS Code Extension Information (please complete the following information):

CLI Information (please complete the following information):

qinezh commented 3 months ago

@klifadv Thanks for reporting it. I can repro it from my side and it looks an issue from botbuilder SDK. https://github.com/microsoft/botbuilder-js/issues/4635 is created in botbuilder-js repo for tracking.

krli-fadv commented 3 months ago

@qinezh Thanks for the update.

IAM5K commented 2 weeks ago

There is one more bug related to this,

If you are handling form submission and the next card is an acknowledgement card.