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: ancestor-binding initial value type incompatibility #1220

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

Xiaoy312
Copy link
Contributor

@Xiaoy312 Xiaoy312 commented Aug 6, 2024

GitHub Issue (If applicable): closes #1218, closes #1219

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

AncestorBinding when used on non-reference type dp would cause a COMException. This is due to it returning null as initial default value, until the binding came online.

What is the new behavior?

The current value will now be returned, prevent this COMException.

PR Checklist

Please check if your PR fulfills the following requirements:

@Xiaoy312 Xiaoy312 force-pushed the dev/xygu/20240806/ancestor-binding-initial-value branch from 0465060 to 22013d1 Compare August 7, 2024 14:08
@kazo0
Copy link
Contributor

kazo0 commented Aug 8, 2024

@Mergifyio backport release/stable/6.1

Copy link
Contributor

mergify bot commented Aug 8, 2024

backport release/stable/6.1

✅ Backports have been created

@Xiaoy312 Xiaoy312 force-pushed the dev/xygu/20240806/ancestor-binding-initial-value branch from 22013d1 to 148925a Compare August 8, 2024 22:49
@kazo0 kazo0 merged commit 65316fa into main Aug 9, 2024
25 checks passed
@kazo0 kazo0 deleted the dev/xygu/20240806/ancestor-binding-initial-value branch August 9, 2024 12:33
mergify bot pushed a commit that referenced this pull request Aug 9, 2024
kazo0 pushed a commit that referenced this pull request Aug 10, 2024
(cherry picked from commit 65316fa)

Co-authored-by: Xiaotian Gu <xiaoyao312@gmail.com>
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.

[uno][AncestorBinding] throws InvalidOperationException [Win][AncestralBinding] throws COMException
2 participants