Skip to content

O365 card is not properly serialized for Python and Expect replies #1577

Open
@denscollo

Description

@denscollo

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.

  1. Execute WaterfallHostBot and WaterfallSkillBot Python (link to branch) locally.

  2. Use ngrok to tunnel the WaterfallHost bot port.

  3. Create a Bot Channel Registration in Azure and use ngrok's URL as Messaging Endpoint.

  4. Talk to the bot through WebChat and test the following:
    expectReplies - WaterfallSkill - WATERFALLSKILLBOTPYTHON - Cards - O365

  5. 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

imagen

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SDKGeneral SDK issues that don't clearly map to other areas (e.g.: helper methods)Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.ExemptFromDailyDRIReportUse this label to exclude the issue from the DRI report.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions