Save of fall-back language on create and update of language

This commit is contained in:
AndyButland
2018-07-06 15:23:21 +02:00
parent 660fe2d773
commit 53e96b25f6
6 changed files with 45 additions and 13 deletions

View File

@@ -144,14 +144,12 @@ namespace Umbraco.Core.Persistence.Repositories.Implement
IsolatedCache.ClearAllCache();
}
;
var dto = LanguageFactory.BuildDto(entity);
var id = Convert.ToInt32(Database.Insert(dto));
entity.Id = id;
entity.ResetDirtyProperties();
}
protected override void PersistUpdatedItem(ILanguage entity)