Merge branch 'netcore/members-passwordchange-temp' into netcore/members-roles-save
This commit is contained in:
@@ -592,7 +592,7 @@ namespace Umbraco.Cms.Core.Models.Mapping
|
||||
return Enumerable.Empty<string>();
|
||||
|
||||
var aliases = new List<string>();
|
||||
var ancestorIds = parent.Path.Split(',').Select(int.Parse);
|
||||
var ancestorIds = parent.Path.Split(Constants.CharArrays.Comma).Select(int.Parse);
|
||||
// loop through all content types and return ordered aliases of ancestors
|
||||
var allContentTypes = _contentTypeService.GetAll().ToArray();
|
||||
foreach (var ancestorId in ancestorIds)
|
||||
|
||||
@@ -282,8 +282,8 @@ namespace Umbraco.Cms.Core.Models.Mapping
|
||||
{
|
||||
target.AvailableCultures = _textService.GetSupportedCultures().ToDictionary(x => x.Name, x => x.DisplayName);
|
||||
target.Avatars = source.GetUserAvatarUrls(_appCaches.RuntimeCache, _mediaFileSystem, _imageUrlGenerator);
|
||||
target.CalculatedStartContentIds = GetStartNodes(source.CalculateContentStartNodeIds(_entityService), UmbracoObjectTypes.Document, "content/contentRoot", context);
|
||||
target.CalculatedStartMediaIds = GetStartNodes(source.CalculateMediaStartNodeIds(_entityService), UmbracoObjectTypes.Media, "media/mediaRoot", context);
|
||||
target.CalculatedStartContentIds = GetStartNodes(source.CalculateContentStartNodeIds(_entityService, _appCaches), UmbracoObjectTypes.Document, "content/contentRoot", context);
|
||||
target.CalculatedStartMediaIds = GetStartNodes(source.CalculateMediaStartNodeIds(_entityService, _appCaches), UmbracoObjectTypes.Media, "media/mediaRoot", context);
|
||||
target.CreateDate = source.CreateDate;
|
||||
target.Culture = source.GetUserCulture(_textService, _globalSettings).ToString();
|
||||
target.Email = source.Email;
|
||||
@@ -336,8 +336,8 @@ namespace Umbraco.Cms.Core.Models.Mapping
|
||||
target.Email = source.Email;
|
||||
target.EmailHash = source.Email.ToLowerInvariant().Trim().GenerateHash();
|
||||
target.Name = source.Name;
|
||||
target.StartContentIds = source.CalculateContentStartNodeIds(_entityService);
|
||||
target.StartMediaIds = source.CalculateMediaStartNodeIds(_entityService);
|
||||
target.StartContentIds = source.CalculateContentStartNodeIds(_entityService, _appCaches);
|
||||
target.StartMediaIds = source.CalculateMediaStartNodeIds(_entityService, _appCaches);
|
||||
target.UserId = source.Id;
|
||||
|
||||
//we need to map the legacy UserType
|
||||
|
||||
Reference in New Issue
Block a user