From 1c768464feb1231e9548e0175d274ff065efa2c5 Mon Sep 17 00:00:00 2001 From: Kevin Jump Date: Tue, 31 Oct 2023 12:19:17 +0000 Subject: [PATCH] Fix #562 - Also check the propertyEditors --- uSync.Core/Serialization/Serializers/DataTypeSerializer.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uSync.Core/Serialization/Serializers/DataTypeSerializer.cs b/uSync.Core/Serialization/Serializers/DataTypeSerializer.cs index 07aeb7a6..bd2f2393 100644 --- a/uSync.Core/Serialization/Serializers/DataTypeSerializer.cs +++ b/uSync.Core/Serialization/Serializers/DataTypeSerializer.cs @@ -120,7 +120,9 @@ protected override SyncAttempt DeserializeCore(XElement node, SyncSer if (editorAlias != item.EditorAlias) { // change the editor type..... - var newEditor = _dataEditors.FirstOrDefault(x => x.Alias.InvariantEquals(editorAlias)); + var newEditor = _dataEditors.FirstOrDefault(x => x.Alias.InvariantEquals(editorAlias)) + ?? _propertyEditors.FirstOrDefault(x => x.Alias.InvariantEquals(editorAlias)); + if (newEditor != null) { details.AddUpdate("EditorAlias", item.EditorAlias, editorAlias, "EditorAlias");