Images are not redering in Hero Card for locale tr-TR
See original GitHub issueDescribe the bug
We have created Multilingual bot with multiple options in choice set. one of the option is to display images which is specified in Azure Table storeage.
We have created bot in Portugese and Turkish languages. I am able to see images for portugese language but not for Turkish language. we are using directline channel for this.
Version 2.1.1
Browser
- Electron distribution
- Chrome
- Safari
- Firefox
- Edge
OS
- macOS
- Windows
- Ubuntu
To Reproduce
Steps to reproduce the behavior:
- Create a bot in Turkish language
- Use directline to see the response from bot
- Pass the locale as tr-TR
- See error in browser console
Expected behavior
Should display the hero card with proper details
Screenshots
Hero card is displaying as below
Issue Analytics
- State:
- Created 2 years ago
- Comments:23 (11 by maintainers)
Top Results From Across the Web
Hero Card Image Rendering Broken for My CDN-Hosted Images
I'm working on a bot that sends hero cards with images. In the past these have worked fine, but suddenly the images have...
Read more >[Question] Show images from Database in Hero Cards #3048
Hello Based on my business logic I want to fetch an image from database and use it on my Hero Card. But hero...
Read more >Is this a bug in the hero card in Teams? - Microsoft Q&A
We are able to repro the issue. In Teams unfurling function, if the image url is unavailable, after few seconds, the thumbnail changes....
Read more >Diff - 06a9fbcdd68a3d48697e6e88c04fcdb6040673c5^2 ...
+ // I replaced the src attributes in the javascript above with data-dac-src + // so the value would not be molested by...
Read more >mwp - River Thames Conditions
Walmart rt 130 cinnaminson nj, Labordiagnostik ebv. Belgisch voetbal live kijken gratis! Upenet concurso ipojuca 2014, Dope pics meaning, Hayunaji young!
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ashokdevlabs Sorry for blocking you. It is a bug in Adaptive-Expression library. There are some particular cases in the comparison of uppercase/lowercase of language Turkish. reference: https://docs.microsoft.com/en-us/dotnet/standard/base-types/best-practices-strings#string-comparisons-that-use-the-current-culture
The work around is to change all the “Image” to “image” in expression, that suppose to work.
We would have a fix later in SDK side.
@Danieladu @tonyanziano , Thank you so much. This work around fixed my issue.