Skip to content

Commit c074840

Browse files
committed
replace nested id lookup
1 parent bb03a3e commit c074840

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

uSync.Migrations.Migrators/Core/NestedContentMigrator.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ public override string GetEditorAlias(SyncMigrationDataTypeProperty dataTypeProp
5454
foreach (var property in row.RawPropertyValues)
5555
{
5656
var contentTypeAlias = context.ContentTypes.GetReplacementAlias(row.ContentTypeAlias);
57-
var editorAlias = context.ContentTypes.GetEditorAliasByTypeAndProperty(contentTypeAlias, property.Key);
57+
var propertyAlias = context.ContentTypes.GetReplacementAlias(property.Key);
58+
var editorAlias = context.ContentTypes.GetEditorAliasByTypeAndProperty(contentTypeAlias, propertyAlias);
5859
if (editorAlias == null) continue;
5960

6061
try

0 commit comments

Comments
 (0)