UpdateActivityAsync removes / overrides labels from messages #6660
Labels
bug
Indicates an unexpected problem or an unintended behavior.
needs-triage
The issue has just been created and it has not been reviewed by the team.
Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
Bot Framework DotNet SDK 4.22.4
Describe the bug
If I create a new message activity and label it with "AI Generated" and "confidential," and then update this message again with UpdateActivityAsync in the second step, the labels "AI generated" and "Confidential" disappear.
The issue also occurs when the update activity has the same entities as it did during creation.
To Reproduce
Steps to reproduce the behavior:
Create a new message activity with the following code:
The message has the following labels:
Update the message with the following code:
After updating, the message no longer has any labels - except of the "bearbeitet" (edited) one..:
Expected behavior
UpdateActivityAsync should not delete the labels.
Additional context
Add any other context about the problem here.
Tracking Status
Dotnet SDK TODO
Javascript SDK TODO
Python SDK TODO
Java SDK TODO
Samples TODO
Docs TODO
Tools TODO
The text was updated successfully, but these errors were encountered: