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

Fix BindingNotification handling in MultiBinding #16102

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

grokys
Copy link
Member

@grokys grokys commented Jun 24, 2024

What does the pull request do?

As described in #16070, the recent binding refactor (#13970) broke support for IMultiValueConverter returning BindingNotification; this was documented but there were no unit tests.

This PR updates UntypedObservableBindingExpression which is used by MultiBinding to add support for BindingNotifications and adds the missing unit test.

Fixed issues

Fixes #16070

@grokys grokys added bug regression customer-priority Issue reported by a customer with a support agreement. labels Jun 24, 2024
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0049211-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 added this pull request to the merge queue Jun 25, 2024
Merged via the queue into master with commit f90afbb Jun 25, 2024
12 checks passed
@maxkatz6 maxkatz6 deleted the fixes/16070-multibinding-bindingnotification branch June 25, 2024 02:44
grokys added a commit that referenced this pull request Jun 28, 2024
* Added failing test for #16070.

* Handle BindingNotifications in UntypedObservableBindingExpression.

Fixes #16070
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported-11.1.x bug customer-priority Issue reported by a customer with a support agreement. regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression in 11.1: MultiValueConverter returning BindingNotification throws InvalidCastException
3 participants