Skip to content

Work around mono bug affecting Xamarin Android (#22982) #22995

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Oct 14, 2020

Conversation

roji
Copy link
Member

@roji roji commented Oct 14, 2020

Original PR merged to main: #22982

Fixes #22665

(cherry picked from commit fbc11f2)

Description

A mono bug currently prevents EF Core 5.0 from being used on Xamarin Android (and possibly other mono-based platforms). This PR replaces the API call causing issues on mono with a workaround that does not.

Customer Impact

EF Core 5.0 is currently unusable with Xamarin Android.

How found

Reported by a user: #22665

Test coverage

We unfortunately do not have test coverage for Xamarin yet (#8792). We do have testing around this code area which confirms the fix doesn't introduce other regressions in general.

Regression?

Yes, from 3.1.x

Risk

Low, the change is a very local replacement of a single API call with another code pattern that does the same thing.

@roji roji requested a review from a team October 14, 2020 13:34
Copy link
Member

@AndriySvyryd AndriySvyryd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs the servicing template before it can be approved for 5.0

@Pilchie
Copy link
Member

Pilchie commented Oct 14, 2020

Tactics approved the main version of this yesterday. Consider it still approved.

@roji roji merged commit 0980497 into release/5.0 Oct 14, 2020
@roji roji deleted the XamarinBug5.0 branch October 14, 2020 18:17
@roji
Copy link
Member Author

roji commented Oct 14, 2020

Merged, sorry for the double PR.

@ajcvickers ajcvickers removed this from the 5.0.0 milestone Oct 14, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants