Skip to content

Commit

Permalink
Bug 79302: Navigation Folder removed in C1 (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
neexite authored Aug 7, 2024
1 parent 67a38c4 commit 7cb955e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Composite/Data/Types/PageServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,8 @@ public static void DeletePage(Guid pageId, Guid versionId, CultureInfo locale, b

if (pageToDelete != null)
{
DataFacade.Delete(pageToDelete);
// References should be retained if another version of the page exists; hence, the use of CascadeDeleteType.Disable is justified.
DataFacade.Delete(pageToDelete, CascadeDeleteType.Disable);
}
}
}
Expand Down

0 comments on commit 7cb955e

Please sign in to comment.