Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WPF .NET Renderer] Fails to render a card with Id set on elements #3181

Closed
shalinijoshi19 opened this issue Jul 10, 2019 · 2 comments
Closed

Comments

@shalinijoshi19
Copy link
Member

Platform

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

  • .NET WPF

Version of SDK

Latest master

Issue

It looks like as soon as I add an Id to the card, it fails to render in WPF (renders fine in JS) with the following exception that's thrown under the covers:

RENDER Failed. '3' is not a valid value for property 'Name'.
Exception thrown: 'System.NullReferenceException' in WpfVisualizer.exe

{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.", "body": [ { "type": "Container", "items": [ { "type": "TextBlock", "text": "This is some of my bug bash text", "id": "3" }, { "type": "Image", "url": "http://adaptivecards.io/content/cats/1.png", "id": "4", "altText": "This is a cat" } ] } ], "id": "1" }

@ghost ghost added the Triage-Needed label Jul 10, 2019
@ghost ghost added this to Needs triage in Bug Triage Jul 10, 2019
@RebeccaAnne
Copy link
Contributor

RebeccaAnne commented Jul 10, 2019

This is due to the issue where .NET doesn't accept numeric ids. #2569

@RebeccaAnne
Copy link
Contributor

Closing as dup of #2569

Bug Triage automation moved this from Needs triage to Closed Jul 10, 2019
@ghost ghost removed the Triage-Needed label Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Bug Triage
  
Closed
Development

No branches or pull requests

2 participants