Jumoo / uSyncMigrations

Rough and ready migration code.
Mozilla Public License 2.0
47 stars 62 forks source link

Dev/dtge migrator merge #199

Closed KevinJump closed 1 year ago

KevinJump commented 1 year ago

Merging #197 into the core migrators -

this is a work in progress to merge @andrewmckaskill's PR into the site, replacing some of the core shizzel

KevinJump commented 1 year ago

So I think:

The DTGE intergers inside the Lists is actually a bug in uSync for Umbraco 7 - really annoying. and NOT something we are going to fix.

but - we can fix it in the packer, we can write a new Mapper for Checkboxes etc, in the packer, and then replace the v7 core one with it in the config (via xml transforms on install! scary but thats how we use to do that).

then the migrator can put the string values inplace of the text ones ,and when we get to Umbraco 8+ the imports will start to work (we ~might~ probibly will have to patch uSync on v8+ but we can do that easily).

Its not a massive change, and it makes all this code way simpler ! and gets rid of a whole chunk of it.