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 BindingAdapterPosition Exception #22676

Merged

Conversation

BaY1251
Copy link
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
Contributor

/azp run

Copy link

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
Member

PureWeen commented Jun 5, 2024

@BaY1251 can you add a UITest for this?

@jsuarezruiz
Copy link
Contributor

@BaY1251 can you add a UITest for this?

Added UITest

@jsuarezruiz
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@BaY1251
Copy link
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
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@BaY1251
Copy link
Contributor Author

BaY1251 commented Jun 17, 2024

Is IOS having this issue?

@BaY1251
Copy link
Contributor Author

BaY1251 commented Jun 21, 2024

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

Copy link

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

@BaY1251
Copy link
Contributor Author

BaY1251 commented Aug 5, 2024

Someone can solve the problem of failing the test?

@rmarinho
Copy link
Member

rmarinho commented Sep 9, 2024

/rebase

@rmarinho
Copy link
Member

rmarinho commented Sep 9, 2024

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

@rmarinho
Copy link
Member

rmarinho commented Sep 9, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@minhiclick

This comment was marked as off-topic.

@jfversluis
Copy link
Member

/rebase

@PureWeen PureWeen added this to the .NET 9 SR3 milestone Dec 6, 2024
@BaY1251
Copy link
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
Member

rmarinho commented Dec 9, 2024

/azp run

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

This comment was marked as outdated.

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@jfversluis jfversluis merged commit 2fc9e3f into dotnet:main Dec 12, 2024
104 checks passed
@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