U4-4775 creating new member group shows error message in dialog...
This commit is contained in:
@@ -118,8 +118,7 @@ namespace Umbraco.Core
|
||||
{
|
||||
foreach (TItem item in items)
|
||||
{
|
||||
if(item != null)
|
||||
action(item);
|
||||
action(item);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -120,7 +120,8 @@ namespace Umbraco.Core.Persistence.Repositories
|
||||
group.AddingEntity();
|
||||
var dto = _modelFactory.BuildDto(group);
|
||||
var o = Database.IsNew(dto) ? Convert.ToInt32(Database.Insert(dto)) : Database.Update(dto);
|
||||
|
||||
group.Id = dto.NodeId; //Set Id on entity to ensure an Id is set
|
||||
|
||||
//Update with new correct path
|
||||
dto.Path = string.Concat("-1,", dto.NodeId);
|
||||
Database.Update(dto);
|
||||
|
||||
Reference in New Issue
Block a user