KevinJump/uSync-Legacy

Media Picker exports ID instead of GUID on Umbraco v7

Opened this issue · 1 comments

  • Umbraco 7.15.10
  • uSync.4.0.16
  • uSync.ContentEdition.4.1.9.1
  • uSync.ContentMappers.4.1.9
  • uSync.Core.6.0.15
  • uSync.Migrations.Packer v7

Image export:

<?xml version="1.0" encoding="utf-8"?> <Image guid="6b2bc7c2-cb13-4e4f-bd9a-153ff43f274a" id="28496" nodeName="2022_IFT_Tradeshow_Logo_650x650px.jpg" isDoc="" updated="2021-11-01T15:00:15.6970000Z" parentGUID="8f49a03e-d498-4932-8cc4-e18e21a59c65" nodeTypeAlias="Image" path="-1,1081,1318,3019,28496"> <altTextEnglish></altTextEnglish> <altTextGerman></altTextGerman> <umbracoBytes><![CDATA[11652]]></umbracoBytes> <umbracoExtension><![CDATA[jpg]]></umbracoExtension> <umbracoFile><![CDATA[{src: '/media/7977/2022_ift_tradeshow_logo_650x650px.jpg', crops: []}]]></umbracoFile> <umbracoHeight><![CDATA[650]]></umbracoHeight> <umbracoWidth><![CDATA[650]]></umbracoWidth> </Image>

Migrated image:

<?xml version="1.0" encoding="utf-8"?> <Media Key="6b2bc7c2-cb13-4e4f-bd9a-153ff43f274a" Alias="2022_IFT_Tradeshow_Logo_650x650px.jpg" Level="4"> <Info> <Parent Key="8f49a03e-d498-4932-8cc4-e18e21a59c65">Trade shows</Parent> <Path>/Images/NewsMedia/TradeShows/IFT_Tradeshow_Logo_650x650pxjpg</Path> <Trashed>false</Trashed> <ContentType>Image</ContentType> <CreateDate>2021-11-01T15:00:15</CreateDate> <NodeName Default="2022_IFT_Tradeshow_Logo_650x650px.jpg" /> <SortOrder>0</SortOrder> </Info> <Properties> <altTextEnglish> <Value><![CDATA[]]></Value> </altTextEnglish> <altTextGerman> <Value><![CDATA[]]></Value> </altTextGerman> <umbracoFile> <Value><![CDATA[{src: '/media/7977/2022_ift_tradeshow_logo_650x650px.jpg', crops: []}]]></Value> </umbracoFile> </Properties> </Media>
The media is imported with the correct guid, but the id differs.

Exported content using media picker (uses id insead of guid):

<bannerImage><![CDATA[28496]]></bannerImage>

Migrated content using media picker:

<bannerImage><![CDATA[]]></bannerImage>

bielu commented

Hey @Trancer56 I had similar issue related to incorrect configuration for usync, can you maybe confirm content of uSyncCore.config and which od mediapicker are you using?