I am trying to do an upgrade of a large site with many Data Types from 6.1.6 to 7.2.1. Our challenge is that we cannot really freeze the live site while we take time to upgrade so we are looking to do as much pre-work as possible. Part of that pre-work was looking at correcting all the Data Types for 7.2.1 which I have done in an upgraded version of the site. I installed uSync on the 7.2.1 version and exported all updated / fixed settings for 7.2.1.
The next step (and part of the test for proof of concept) was to start with a new upgraded version of the site from 6.1.6 to 7.2.1 but this time, instead of manually doing all the Data Type fixes, just run uSync. Sounds good right?
So, I copy in the Usync content with all the corrected Data Types into this freshly upgraded version of the site sitting on 7.2.1. When I try to run import, or update on start with uSync I get the attached error. "IndexOutOfRangeException: Index was outside the bounds of the array"
Has anyone seen this error before and what can I do to try and correct this.
I think you are getting the same error I was doing an upgrade too.
It relates to Mapping of MediaType / ContentType Ids for MultiNode Pickers, there was a bug in how uSync was handling the mapping if it the MNTP was mapped to the root.
It's fixed in the latest patch for uSync (which isn't packaged yet)
Thanks so much for your quick response. Your latest patch worked like a charm.
When Usync kicks in on an update like this, it feels like magic when you go back in and look at the Data Types and see them all updated. It saves countless, manual hours - and is a crucial part in our update path U7 update. Thank you so much!
uSync: IndexOutOfRangeException: Index was outside the bounds of the array
I am trying to do an upgrade of a large site with many Data Types from 6.1.6 to 7.2.1. Our challenge is that we cannot really freeze the live site while we take time to upgrade so we are looking to do as much pre-work as possible. Part of that pre-work was looking at correcting all the Data Types for 7.2.1 which I have done in an upgraded version of the site. I installed uSync on the 7.2.1 version and exported all updated / fixed settings for 7.2.1.
The next step (and part of the test for proof of concept) was to start with a new upgraded version of the site from 6.1.6 to 7.2.1 but this time, instead of manually doing all the Data Type fixes, just run uSync. Sounds good right?
So, I copy in the Usync content with all the corrected Data Types into this freshly upgraded version of the site sitting on 7.2.1. When I try to run import, or update on start with uSync I get the attached error. "IndexOutOfRangeException: Index was outside the bounds of the array"
Has anyone seen this error before and what can I do to try and correct this.
Hi
I think you are getting the same error I was doing an upgrade too.
It relates to Mapping of MediaType / ContentType Ids for MultiNode Pickers, there was a bug in how uSync was handling the mapping if it the MNTP was mapped to the root.
It's fixed in the latest patch for uSync (which isn't packaged yet)
you just need to update jumps.umbraco.usync.dll from github https://github.com/KevinJump/jumps.umbraco.usync/tree/v2.2-Umbraco-7/Package/uSync
that resolved the above problem for me.
Kevin
Hi Kevin,
Thanks so much for your quick response. Your latest patch worked like a charm.
When Usync kicks in on an update like this, it feels like magic when you go back in and look at the Data Types and see them all updated. It saves countless, manual hours - and is a crucial part in our update path U7 update. Thank you so much!
Ed
Restart App Pools
is working on a reply...