uSync v13.2.5 content import fails for ContentType"file" and "umbracoMediaAudio"
Hello Kevin,
I encounter a strange problem. I just moved some sites from U12 to U13.5.2. For this, I exported all content from the U12 site, and on an empty, clean U13 site, I re-import all settings and content items with uSync 13.5.2.
On the new site version, there are some new properties defined for media items, which were not present during the export fromt the old site.
Now, when I import the U12 media items (all of them NOT having those new properties in the XML), all those media items with ContentType File and umbracoMediaAudio throw a red error notification and the import stops. No log entry. The notification says:
Error: One or more errors occurred. (Error parsing comment. Expected:
*, got m. Path '', line 1, position 1.)
Strangely, those items still seem to be present in the new site after that. When I re-export from the new site, the exported items now have the new properties in the XML, and when I re-import those items, the import finishes without error.
This problem did not happen with any of the other media types, although the new properties where also missing in their XML. However, those other media types already had some other custom properties when exported. I just mention this in case it plays into this.
I can't post some example XML here because it seems to mess up the editor...
It seems to me that there is an error thrown when some properties of the media type are missing in the imported XML, however, only on the media types of "file" and "umbracoMediaAudio".
uSync v13.2.5 content import fails for ContentType"file" and "umbracoMediaAudio"
Hello Kevin,
I encounter a strange problem. I just moved some sites from U12 to U13.5.2. For this, I exported all content from the U12 site, and on an empty, clean U13 site, I re-import all settings and content items with uSync 13.5.2.
On the new site version, there are some new properties defined for media items, which were not present during the export fromt the old site.
Now, when I import the U12 media items (all of them NOT having those new properties in the XML), all those media items with ContentType
File
andumbracoMediaAudio
throw a red error notification and the import stops. No log entry. The notification says:Strangely, those items still seem to be present in the new site after that. When I re-export from the new site, the exported items now have the new properties in the XML, and when I re-import those items, the import finishes without error.
This problem did not happen with any of the other media types, although the new properties where also missing in their XML. However, those other media types already had some other custom properties when exported. I just mention this in case it plays into this.
I can't post some example XML here because it seems to mess up the editor...
It seems to me that there is an error thrown when some properties of the media type are missing in the imported XML, however, only on the media types of "file" and "umbracoMediaAudio".
Kind regards, Mikael
is working on a reply...