Skip to content

[Android] MediaPicker: Stop overwriting picked source files - #36572

Merged
kubaflo merged 3 commits into
net11.0from
mattleibow-net10-android-mediapicker-security-fix
Aug 9, 2026
Merged

[Android] MediaPicker: Stop overwriting picked source files#36572
kubaflo merged 3 commits into
net11.0from
mattleibow-net10-android-mediapicker-security-fix

[Android] Clean up MAUI-owned picker cache input after processing

9b0d5d4
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Aug 6, 2026 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Build Failures

maui-pr-uitests / iOS UITests CoreCLR / Controls (vlatest) / Controls (vlatest) Shell / Controls (vlatest) Shell

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌PowerShell exited with code '1'.

maui-pr-uitests / iOS UITests CoreCLR / Controls (vlatest) / Controls (vlatest) Shell / Publish the ios_ui_tests_coreclr_controls_latest test results

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Test Failures (1 tests failed)

🔹 [All failing tests from maui-pr-uitests]

    Microsoft.Maui.TestCases.Tests.Issues.Issue10445(iOS).ShellBackgroundSupportsGradientBrush [Details] [32.65% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    VisualTestUtils.VisualTestFailedException : 
    Baseline snapshot not yet created: /Users/cloudtest/vss/_work/1/s/artifacts/bin/Controls.TestCases.iOS.Tests/Release/net11.0/snapshots/ios-26/ShellBackgroundSupportsGradientBrush.png
    Ensure new snapshot is correct:    /Users/cloudtest/vss/_work/1/a/Controls.TestCases.Shared.Tests/snapshots-diff/ios-26/ShellBackgroundSupportsGradientBrush.png
      and if it is, push a change to add it to the 'snapshots' directory.
    See test attachment or download the build artifacts to get the new snapshot file.
    

    More info: https://aka.ms/visual-test-workflow

    CallStack
       at VisualTestUtils.VisualRegressionTester.Fail(String message) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 162
       at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 84
       at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|13_0(String name, <>c__DisplayClass13_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 485
       at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Nullable`1 retryTimeout, Int32 cropLeft, Int32 cropRight, Int32 cropTop, Int32 cropBottom, Double tolerance) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 309
       at Microsoft.Maui.TestCases.Tests.Issues.Issue10445.ShellBackgroundSupportsGradientBrush() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue10445.cs:line 23
       at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    

Was this helpful? Yes No