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

[UWP] Initialize empty input object for OpenUrl action invoke #5336

Merged
merged 1 commit into from
Jan 29, 2021

Conversation

RebeccaAnne
Copy link
Contributor

@RebeccaAnne RebeccaAnne commented Jan 28, 2021

Related Issue

Fixes #5330

Description

As part of the work to implement "associatedInputs":"none", the action invoke code was refactored in such a way that OpenUrl action invokes no longer had an Inputs object. Although this object was always empty for OpenUrl types, our Visualizer depended on it being non-null. Because it's technically a breaking change (that actually broke the visualizer), I restored the old behavior where OpenUrl action invocations have an empty but non-null inputs object.

Sample Card

ActivityUpdate.json scenario card

How Verified

Confirmed OpenUrl button now works as expected

Microsoft Reviewers: Open in CodeFlow

@RebeccaAnne RebeccaAnne merged commit be79bf5 into main Jan 29, 2021
@RebeccaAnne RebeccaAnne deleted the rebecch/inputcrash branch January 29, 2021 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[UWP] Crash when choosing view from Activity Update card
2 participants