Adaptivecards: [Android][Rendering] [Rendering breaks when empty string is given in TextBlock]

Created on 23 Sep 2020  路  6Comments  路  Source: microsoft/AdaptiveCards

Platform

What platform is your issue or question related to? (Delete other platforms).

  • [x] Android
  • [x] iOS
  • [x] WPF
  • [x] UWP

Author or host

MS Teams - @microsoft/teams

Version of SDK

SDK version 2.1.0 (Adaptive card version 1.3)

Details

The rendering of the container breaks when it has a TextBlock with an empty string in MS Teams. The same is observed in the android visualizer app.

The zip contains the sample json with empty string TextBlock and non empty string TextBlock and corresponding screenshots of the android visualizer.

This does NOT happen in adaptive card version 1.2

TextBlock.zip

TextBlock with empty string

image

Removing the TextBlock with empty string

image

AdaptiveCards v20.09 Area-Inconsistency Bug Msft-TeamsMobile MsftTeams-Integration Platform-Android Priority-Now Status-In Code Review Triage-Approved for Fix

All 6 comments

please review this issue for target Milestone, Inconsistencies & Priority upon triage.

@shalinijoshi19 @dclaux We are facing this issue as we are upgrading to the latest SDK in Teams. Can you please triage and let us know how we can work around this.
FYI: @VikrantSingh01

@sowrabh-msft this is fixed, and the fix will be in our next patch release which is scheduled for the end of this month.

@sowrabh-msft this is fixed, and the fix will be in our next patch release which is scheduled for the end of this month.

@jwoo-msft can you reference the corresponding PR/issue number here for context and close this out as a dup of that issue pls? thanks. Also to be clear it won't be a patch release but a minor _(2.x series)_ release out of main for the 1.3 artifacts (_we are only doing patches at this point to the 1.2.x series_)

Hi @dipja. We have acknowledged this issue report. Please continue to follow this issue for updates/progress/questions.

@sowrabh-msft this issue was released as part of our 20.09 artifacts. Thanks.

Was this page helpful?
0 / 5 - 0 ratings