microsoft / microsoft/AdaptiveCards

Inconsistent behavior for mixed media sources

Open
#8,377 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
2k
Forks
595
Avg merge
1d 19h
Merged PRs (30d)
1

Description

Platform

  • JavaScript
  • UWP

Sample

https://github.com/microsoft/AdaptiveCards/blob/main/samples/v1.1/Tests/InvalidMediaMix.json

Issue

The sample card is not valid and the Media element is supposed to be dropped. UWP and JS do not conform to this.

  • JS: the media element renders
  • UWP: none of the card renders

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with samples/v1.1/Tests/InvalidMediaMix.json and reproduce the card on the JavaScript and UWP platforms named in the issue. Compare each renderer's handling of the invalid Media element; done means the Media element is dropped consistently without either rendering it or preventing the rest of the card from rendering.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, javascript
Domain
frontend, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.