Ensures ref integrity for all FKs to umbracoUser table but support NULL values

This commit is contained in:
Shannon
2018-05-31 23:05:35 +10:00
parent b5f0bc7234
commit abbb119fc9
34 changed files with 120 additions and 80 deletions

View File

@@ -604,7 +604,7 @@ namespace Umbraco.Core.Services.Implement
NodeObjectType = Constants.ObjectTypes.IdReservation,
CreateDate = DateTime.Now,
UserId = -1,
UserId = null,
ParentId = -1,
Level = 1,
Path = "-1",