@smustgave comment #20 proposed modifications make sense.
I'm unfamiliar with the Drupal development workflow and I just cannot figure out how to commit to the issue branch; all the docs I can find create new issue branches.
Hence, here is a patch implementing comment #20 changes.
Please consider porting this fix to Drupal 10 too as it has the same issue and the same modifications do work.
Running the official 1.0.1
version.
I hit the same problem as the original poster, where hooks aren't disabled, and only become disabled when commenting the if
clause in alter()
. It appears though the disabling only happens for the first item in a migration — alas, hooks run for all the other items.
Hence I would gladly test the 1.0.x-dev
version that seems to fix the issue.
But real life means I'm stuck with drush
version 12
. Customer hosting currently will not upgrade post PHP-8.2
— drush
version 13
requires PHP-8.3
.
I'm quite glazed-eye when looking at the code, could you please tell me what part of the patch requires drush
version 13
, so that I can find a workaround, and perhaps submit a patch to make migrate_boost
compatible for crusty old environments such as the one I have to deal with?
Thank you,