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

[UWP] Fixed NRE load image from ImageSource #13135

Merged
merged 6 commits into from
Dec 23, 2020
Merged

[UWP] Fixed NRE load image from ImageSource #13135

merged 6 commits into from
Dec 23, 2020

Conversation

jsuarezruiz
Copy link
Contributor

Description of Change

Fixed NRE load image from ImageSource in UWP.

Issues Resolved

API Changes

None

Platforms Affected

  • UWP

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

Launch Core Gallery and navigate to the issue 13109. Without exceptions, the test has passed.

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@rmarinho
Copy link
Member

Hey @jsuarezruiz is it possible to add a UITest ?

@jsuarezruiz
Copy link
Contributor Author

Sure, added!.

@rmarinho rmarinho added the blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. label Dec 16, 2020
@rmarinho rmarinho added this to To do in vNext+1 (5.0.0) via automation Dec 16, 2020
@rmarinho rmarinho added this to the 5.0.0 milestone Dec 16, 2020
Copy link
Member

@rmarinho rmarinho left a comment

Choose a reason for hiding this comment

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

@jsuarezruiz test is failing .

@rmarinho rmarinho moved this from To do to In Review in vNext+1 (5.0.0) Dec 16, 2020
@rmarinho rmarinho self-requested a review December 17, 2020 19:43
Copy link
Member

@rmarinho rmarinho left a comment

Choose a reason for hiding this comment

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

hey @jsuarezruiz tests is failing on iOS and Android

@rmarinho rmarinho self-requested a review December 18, 2020 12:19
@rmarinho
Copy link
Member

@jsuarezruiz i comment your change and the test still passes, am i holding it wrong ?

Copy link
Member

@rmarinho rmarinho left a comment

Choose a reason for hiding this comment

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

I tested the nuget on the issue and it solves the issue. But that said the UITest added is not really testing this issue since Application is not null if we do it from the Xamarin.Forms side .

I also think this should target 4.8.0 , since is ra regression there

@rmarinho
Copy link
Member

@jsuarezruiz tests is failing on UWP

@rmarinho rmarinho merged commit 060a322 into 5.0.0 Dec 23, 2020
vNext+1 (5.0.0) automation moved this from In Review to Done Dec 23, 2020
@rmarinho rmarinho deleted the fix-13109 branch December 23, 2020 12:25
@samhouts samhouts added 4.8.0 regression on 4.8.0 i/regression labels Jan 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4.8.0 regression on 4.8.0 a/image blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. i/regression p/UWP t/bug 🐛
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

[Bug] NullReference Exception thrown when load image from ImageSource in Xamarin Forms UWP
4 participants