Skip to content

Fix BindingAdapterPosition Exception#22676

Merged
jfversluis merged 5 commits intodotnet:mainfrom
BaY1251:Fix-BindingAdapterPosition-Exception-1
Dec 12, 2024
Merged

Fix BindingAdapterPosition Exception#22676
jfversluis merged 5 commits intodotnet:mainfrom
BaY1251:Fix-BindingAdapterPosition-Exception-1

Conversation

@BaY1251
Copy link
Copy Markdown
Contributor

@BaY1251 BaY1251 commented May 28, 2024

Description of Change

When BindingAdapterPosition is -1, an exception will be thrown.
The correct handling should be to determine this value.

Issues Fixed

Fixes #22674
Fixes #20764

@BaY1251 BaY1251 requested a review from a team as a code owner May 28, 2024 07:24
@BaY1251 BaY1251 requested review from Eilon and PureWeen May 28, 2024 07:24
@dotnet-policy-service dotnet-policy-service Bot added the community ✨ Community Contribution label May 28, 2024
@jsuarezruiz
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen PureWeen added the area-controls-collectionview CollectionView, CarouselView, IndicatorView label May 31, 2024
@PureWeen
Copy link
Copy Markdown
Member

PureWeen commented Jun 5, 2024

@BaY1251 can you add a UITest for this?

@jsuarezruiz
Copy link
Copy Markdown
Contributor

@BaY1251 can you add a UITest for this?

Added UITest

@jsuarezruiz
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

@BaY1251
Copy link
Copy Markdown
Contributor Author

BaY1251 commented Jun 11, 2024

@jsuarezruiz
Thank you for your commitment.
There seems to be a small mistake in your submission. #22674 is applied to the Android platform, and I don't have a device to test the IOS platform, so I'm not sure if I can repo on IOS.

@jsuarezruiz
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

@BaY1251
Copy link
Copy Markdown
Contributor Author

BaY1251 commented Jun 17, 2024

Is IOS having this issue?

@BaY1251
Copy link
Copy Markdown
Contributor Author

BaY1251 commented Jun 21, 2024

@jsuarezruiz May I try testing only on the Android platform?

@azure-pipelines
Copy link
Copy Markdown

Commenter does not have sufficient privileges for PR 22676 in repo dotnet/maui

@BaY1251
Copy link
Copy Markdown
Contributor Author

BaY1251 commented Aug 5, 2024

Someone can solve the problem of failing the test?

@rmarinho
Copy link
Copy Markdown
Member

rmarinho commented Sep 9, 2024

/rebase

@rmarinho
Copy link
Copy Markdown
Member

rmarinho commented Sep 9, 2024

@BaY1251 yes you can add the test only as android one

@rmarinho
Copy link
Copy Markdown
Member

rmarinho commented Sep 9, 2024

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

@minhiclick

This comment was marked as off-topic.

@jfversluis
Copy link
Copy Markdown
Member

/rebase

@PureWeen PureWeen added this to the .NET 9 SR3 milestone Dec 6, 2024
@BaY1251
Copy link
Copy Markdown
Contributor Author

BaY1251 commented Dec 9, 2024

This is just a temporary solution.
But if no one fundamentally solves it, this solution can at least solve the problem of random crashes

@minhiclick

This comment was marked as off-topic.

@rmarinho
Copy link
Copy Markdown
Member

rmarinho commented Dec 9, 2024

/azp run

@azure-pipelines

This comment was marked as outdated.

@jfversluis jfversluis force-pushed the Fix-BindingAdapterPosition-Exception-1 branch from 8d5e1c0 to 42dd0f2 Compare December 11, 2024 13:18
@azure-pipelines

This comment was marked as outdated.

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

@jfversluis jfversluis merged commit 2fc9e3f into dotnet:main Dec 12, 2024
@samhouts samhouts added fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-net8.0-nightly This may be available in a nightly release! labels Dec 16, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-collectionview CollectionView, CarouselView, IndicatorView community ✨ Community Contribution fixed-in-net8.0-nightly This may be available in a nightly release! fixed-in-net9.0-nightly This may be available in a nightly release!

Projects

Status: Done

7 participants