Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Picker exports ID instead of GUID on Umbraco v7 #362

Open
Trancer56 opened this issue Aug 21, 2023 · 1 comment
Open

Media Picker exports ID instead of GUID on Umbraco v7 #362

Trancer56 opened this issue Aug 21, 2023 · 1 comment

Comments

@Trancer56
Copy link

  • 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>

@KevinJump KevinJump transferred this issue from KevinJump/uSync Sep 5, 2023
@bielu
Copy link

bielu commented Oct 5, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants