Skip to content

Commit

Permalink
replace nested id lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJump committed Feb 11, 2024
1 parent bb03a3e commit c074840
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion uSync.Migrations.Migrators/Core/NestedContentMigrator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ public override string GetEditorAlias(SyncMigrationDataTypeProperty dataTypeProp
foreach (var property in row.RawPropertyValues)
{
var contentTypeAlias = context.ContentTypes.GetReplacementAlias(row.ContentTypeAlias);
var editorAlias = context.ContentTypes.GetEditorAliasByTypeAndProperty(contentTypeAlias, property.Key);
var propertyAlias = context.ContentTypes.GetReplacementAlias(property.Key);
var editorAlias = context.ContentTypes.GetEditorAliasByTypeAndProperty(contentTypeAlias, propertyAlias);
if (editorAlias == null) continue;

try
Expand Down

0 comments on commit c074840

Please sign in to comment.