O365 card is not properly serialized for Python and Expect replies #1577
Labels
Area: SDK
General SDK issues that don't clearly map to other areas (e.g.: helper methods)
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
ExemptFromDailyDRIReport
Use this label to exclude the issue from the DRI report.
Describe the bug
The content of the attachment for the O365 card is not getting properly serialized with the WaterfallSkillBot Python and expect replies delivery mode.
While in Normal mode the content of the attachment is a JSON object, when Expect Replies is set, the content is received as a string.
To Reproduce
Steps to reproduce the behavior:
O365 cards are not supported in Emulator, we can test it using WebChat.
Execute WaterfallHostBot and WaterfallSkillBot Python (link to branch) locally.
Use ngrok to tunnel the WaterfallHost bot port.
Create a Bot Channel Registration in Azure and use ngrok's URL as Messaging Endpoint.
Talk to the bot through WebChat and test the following:
expectReplies - WaterfallSkill - WATERFALLSKILLBOTPYTHON - Cards - O365
See how the content of the attachment is shown.
Expected behavior
The content should be serialized as JSON.
Screenshots
These images show the attachment sent using Normal and ExpectReplies delivery modes
The text was updated successfully, but these errors were encountered: