Open markadrake opened 1 year ago
Hi,
first might be worth updating to latest version. @marcemarc did something recently for the wrapping of the GUID values in relatedLinks - https://github.com/Jumoo/uSyncMigrations/commit/6ca9c86ad8b74bddd44f9f0af9b59e2b9d08ead1
I suspect that's your issue.
if not i would take a look at the RelatedLinksMigrator
- because i suspect the issue is here (& this might well be the fix)
Oh I see. This is a bit confusing.
A month ago, or longer, I noticed that my config files did not have quotes around guid keys. I had to do a search and replace to put them there.
My latest export from v7 resulted in config files that have quotes around the guids.
I'll double check I'm using the latest versions of uSync. To confirm - I am still using uSync 10.3.1.-beta001
and uSync.Migrations 4.0.0-phase.2.1
.
I wonder if that means the fix is double wrapping them. 🤔
Sorry for the live troubleshooting and updates Kevin.
Looking at a fresh export of Umbraco v7 content, I can find both cases:
I've even found this to happen within the same file / property / array. Quite strange how it's inconsistent.
Sort of hoping PR #123 will fix this - it will remove double quotes - which i think is what happens when a quoted GUID is matched.
I am sure there is a clever RegEx for it, but in 6 months i wouldn't be able to understand what it did, this way we can see what hack we are fixing.
Hi Everyone,
I'm running into an issue with this file, and potentially others after it, where the parsing seems to blow up.
I believe the error is being reported with the very first link property:
I validated the JSON below in an external validator, just in case there was something my eyes didn't see. The JSON came back valid. Here is the entire config file for reference:
Any help would be appreciated. I'm not sure how to debug this.