Botframework-webchat: breaking change to adaptive cards in v4.5.2-0

Created on 6 Aug 2019  路  8Comments  路  Source: microsoft/BotFramework-WebChat

Screenshots


Version

4.5.2-0

Describe the bug

The new webchat version breaks adaptive cards. All of the adaptive card hows as is the text bubble that is behind it with code html inside of the text bubble.


To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Additional context

[Bug]

Bot Services Bug customer-replied-to customer-reported

All 8 comments

4.5.2 is not released yet. Do you mean you are using master bits?

Please provide screenshots and/or repro steps so we know what to look for. I tested master bits just now and didn't run into any problems with adaptive cards.

@corinagum I have included a screenshot and yes these are master bits

adaptiveCardError

Can you include your Adaptive Card JSON? Are you using Web Chat's Attachment middleware? Not sure why it would be saying there isn't a renderer for an Adaptive Card.

And, which variant of bundle are you using? We provided "minimal", "full", and "ES5". If you are using "minimal" bundle, it doesn't contains Adaptive Cards component.

@compulim when you say minimal do you mean minified?

@compulim Hi just wondered if there was a difference between minified and minimal

Minimal is not minified. We have 3 variants for bundle, all of them are minified in our CDN. We don't serve development (non-minified) bits.

  • Full is webchat.js, this includes Web Chat, plus Adaptive Cards, Markdown-It, sanitize-html, and Cognitive Services Speech Services
  • ES5 is webchat-es5.js, this is very similar to "Full", plus polyfill for IE11 (a.k.a. compatibility layers for ES5 browsers)
  • Minimal is webchat-minimal.js, this includes basic Web Chat, but not Adaptive Cards, Markdown-It, sanitize-html, Cognitive Services Speech Services, or ES5 polyfill. This bundle has the smallest footprint, but same flexibility and customization option compare to other two bundles

@xtianus79 could you please answer the questions above? I am closing this for now due to inactivity, but if you respond with the answers above and you are still experiencing this problem, I will reopen.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GewoonMaarten picture GewoonMaarten  路  3Comments

prashanthsridhar picture prashanthsridhar  路  3Comments

felixhauserch picture felixhauserch  路  3Comments

compulim picture compulim  路  3Comments

Stardox picture Stardox  路  3Comments