Skip to content

The newly added recipe throws an exception:ObjCRuntime.ObjCException when deleted #31431

@ninachen03

Description

@ninachen03

Description

Newly created recipes cannot be deleted.
Not repro on windows and android

Steps to Reproduce

1.Deploy https://github.com/dotnet/maui-samples/tree/main/maui-samples-main/10.0/Apps/WhatToEat to iOS
2.Click or tap on the 'My Recipes' tab to navigate to the 'My Recipes' page.
3.Click or tap on the 'New' button > Enter any text in the field 'Recipe Name'.
4.Click or tap on the 'Save' button.
5.Click or tap on the new recipe you created to enter the recipe details page.
6.Click or tap on the 'Edit' button.
7.Click or tap on the 'Delete' button.

Actual results:
Deleting a newly added recipe results in an exception.

Image

Expected Behavior:

Can delete the new added recipe .

Link to public reproduction project repository

https://github.com/dotnet/maui-samples/tree/main

Version with bug

.NET SDK: 10.0.100-preview.7.25380.108
Sdk-manifest: 10.0.100-preview.7
microsoft.net.sdk.ios: 18.5.10601-net10-p7

Is this a regression from previous behavior?

This is a regression , works fine on "Microsoft.Maui.Controls" Version="10.0.0-preview.4.25263.4"

Last version that worked well

"Microsoft.Maui.Controls" Version="10.0.0-preview.4.25263.4"

Affected platforms

iOS

Metadata

Metadata

Assignees

Labels

csi-newi/regressionThis issue described a confirmed regression on a currently supported versionplatform/ioss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions