Describe the bug
Null Reference Exception when deleting a Recipe that is referenced by another Recipe. Appears that the RecipeQuantityData is not properly getting deleted. The NullReferenceException occurs on reload of the screen because the ChildRecipe on the RecipeQuantityData is null. This RecipeQuantityData should have been completely deleted.
NullReferenceException occurs in RecipeService(94)
Expected behavior
Deleting recipes that are referenced by other recipes should correctly clear the RecipeQuantityData from any other references and not leave orphaned records.
Describe the bug Null Reference Exception when deleting a Recipe that is referenced by another Recipe. Appears that the RecipeQuantityData is not properly getting deleted. The NullReferenceException occurs on reload of the screen because the ChildRecipe on the RecipeQuantityData is null. This RecipeQuantityData should have been completely deleted.
To Reproduce
Expected behavior Deleting recipes that are referenced by other recipes should correctly clear the RecipeQuantityData from any other references and not leave orphaned records.
Affected Versions 2.0.0.0 (RecipeManager_1)