microsoft / AdaptiveCards

A new way for developers to exchange card content in a common and consistent way.
https://adaptivecards.io
MIT License
1.74k stars 543 forks source link

[All][Consistency] Shared model should not throw exceptions for invalid adaptive cards #4834

Open jwoo-msft opened 3 years ago

jwoo-msft commented 3 years ago

Update parsing behaviors such that exception is not thrown when empty or null value is given for a property even when the property "required". For example, If value for url of Image is missing or empty, parsing the string for url should not yield an exception by the parsers. Elements should be dropped by the parser in this case.

For more detailed procedure of handling improper values. please see here

See also: #4565

ghost commented 3 years ago

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