Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Adds a null check for Xamarin.Forms.Platform.Android.PageRenderer.Xamarin.Forms.Platform.Android.IOrderedTraversalController.UpdateTraversalOrder #7050

Merged
merged 11 commits into from
Aug 9, 2019

Conversation

Happypig375
Copy link
Contributor

@Happypig375 Happypig375 commented Aug 2, 2019

Description of Change

Adds a null check for ve.GetRenderer() in Xamarin.Forms.Platform.Android.PageRenderer.Xamarin.Forms.Platform.Android.IOrderedTraversalController.UpdateTraversalOrder.

Issues Resolved

API Changes

None

Platforms Affected

  • Android

Behavioral/Visual Changes

Apps that directly assign views to children of layouts will no longer crash due to a null reference.

Before/After Screenshots

Before:
image

After:
image

Testing Procedure

Automated test

PR Checklist

  • Has automated tests
  • Rebased on top of the target branch at time of PR
  • Changes adhere to coding standard

@Happypig375 Happypig375 changed the title Fixes #7049 Adds a null check for Xamarin.Forms.Platform.Android.PageRenderer.Xamarin.Forms.Platform.Android.IOrderedTraversalController.UpdateTraversalOrder Aug 2, 2019
@jsuarezruiz jsuarezruiz self-requested a review August 6, 2019 11:30
@samhouts samhouts moved this from In Review to In Progress in v4.3.0 Aug 6, 2019
@Happypig375
Copy link
Contributor Author

How to view what failed?

@jfversluis
Copy link
Member

@Happypig375 I'm afraid you can't sorry! Doing another run and I will let you know if anything it wrong when it's done

@Happypig375
Copy link
Contributor Author

@jfversluis The run is done

@Happypig375
Copy link
Contributor Author

The failed tests are the same as #7012. Therefore, this PR is technically fine.

@jfversluis
Copy link
Member

I love that line of thought, but unfortunately that is not how it works 😉 each of these runs has hundreds of tests in it so it might just as well be that your changes broke some. It's impossible to say from just this data.

I've just checked manually and the failing tests do seem unrelated.

Thank you for your contribution!

@jfversluis jfversluis merged commit f4ef490 into xamarin:master Aug 9, 2019
v4.3.0 automation moved this from In Progress to Done Aug 9, 2019
samhouts pushed a commit to rookiejava/Xamarin.Forms that referenced this pull request Aug 16, 2019
…arin.Forms.Platform.Android.IOrderedTraversalController.UpdateTraversalOrder (xamarin#7050)

* Fixes xamarin#7049

* Test?

* Tap View please

* Spacing

* Address comments

* Excuse me, semicolons

* Remove private
@samhouts samhouts removed this from Done in v4.3.0 Sep 3, 2019
@samhouts samhouts added this to the 4.3.0 milestone Sep 11, 2019
@samhouts samhouts added this to Done in v4.3.0 Sep 11, 2019
felipebaltazar pushed a commit to felipebaltazar/Xamarin.Forms that referenced this pull request Oct 16, 2019
…arin.Forms.Platform.Android.IOrderedTraversalController.UpdateTraversalOrder (xamarin#7050)

* Fixes xamarin#7049

* Test?

* Tap View please

* Spacing

* Address comments

* Excuse me, semicolons

* Remove private
felipebaltazar pushed a commit to felipebaltazar/Xamarin.Forms that referenced this pull request Oct 16, 2019
…arin.Forms.Platform.Android.IOrderedTraversalController.UpdateTraversalOrder (xamarin#7050)

* Fixes xamarin#7049

* Test?

* Tap View please

* Spacing

* Address comments

* Excuse me, semicolons

* Remove private
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
v4.3.0
  
Done
5 participants