microsoft / BotFramework-Emulator

A desktop application that allows users to locally test and debug chat bots built with the Bot Framework SDK.
https://aka.ms/botemulator
MIT License
1.82k stars 756 forks source link

I cant see my adaptive card on the Bot builder emulator, it appears as blank. #2452

Closed jpiabrantes closed 9 months ago

jpiabrantes commented 9 months ago

Version

4.14.1

Describe the bug

My adaptive card does not show, it appears only a grey rectangle.

To Reproduce

Here's the json of my adaptive card ```json { "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.3", "body": [ { "type": "TextBlock", "wrap": true, "text": "Hello!" }, { "type": "TextBlock", "wrap": true, "text": "You can also use commands to my default language (!lang ). Type !help to see all the available commands!" }, { "type": "TextBlock", "weight": "bolder", "text": "Choose a conversation starter:" } ], "actions": [ { "type": "Action.Submit", "title": "How to close the cash register?", "data": { "value": "How to close the cash register?" } }, { "type": "Action.Submit", "title": "How to handle a return?", "data": { "value": "How to handle a return?" } } ] } ```
OEvgeny commented 9 months ago

@jpiabrantes please try the latest nightly release https://github.com/Microsoft/botframework-emulator-nightlies/releases

stevkan commented 9 months ago

@jpiabrantes - I just tested your adaptive card in Emulator (using the same version) and I am able to see the rendered card. Could you try some of the following tests:

jpiabrantes commented 9 months ago

I had a bug in my code, but no exception was being raised.. All fixed now.