dgrigg / craft-migration-assistant

Migration Manager for Craft CMS
Other
27 stars 10 forks source link

Exception: Undefined index: maxSiblingBlocks when migrating Neo fields #34

Closed kayqq closed 3 years ago

kayqq commented 3 years ago

My field migrations for Neo blocks are not including the maxSiblingBlocks property in the JSON settings object of the migration.

Currently my workaround is adding "maxSiblingBlocks": "0", to any objects with "maxChildBlocks" to the migration after generating it.

"craftcms/cms": "3.5.17.1", "spicyweb/craft-neo": "2.8.16", "dgrigg/craft-migration-assistant": "3.2.4",

Update: My workaround works but I also encountered a new issue, Neo blocks are not migrating the attached fields.

dgrigg commented 3 years ago

@kayqq fixed in latest version