Jumoo / uSyncMigrations

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

Fix for Nested Content to Block List in Grid #194

Closed skttl closed 1 year ago

skttl commented 1 year ago

When converting grid with DTGE with Nested Content inside, for some reason it runs the migration of Nested Content properties twice. Should probably be fixed in another way, but I got around it, by checking the value, as in this PR.

You could do the check like in Grid to BlockGrid, but I am unsure how it would cope with Nested Content inside of Nested Content.

KevinJump commented 1 year ago

yeah - i need to check the runs twice thing, it's possible we do that in one of the 'prepare' steps but we really shouldn't