We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In https://www.drupal.org/project/drupal/issues/2997960 it was identified that taxonomy_update_8502() is not run correctly via update:execute when more than 100 terms are present in the database.
taxonomy_update_8502()
update:execute
hook_update_N allows long running update operations to be batched via the $context parameter, as documented at https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension%21module.api.php/function/hook_update_N/8.6.x but it appears Drupal Console does not implement this, as per https://github.com/hechoendrupal/drupal-console/blob/master/src/Command/Update/ExecuteCommand.php#L338-L340 which only ever runs the update hook once.
hook_update_N
Implement batch updates during update:execute.
#3574 #3787
The text was updated successfully, but these errors were encountered:
@rlmumford we could close this issue after merge #4057 ?
Sorry, something went wrong.
@enzolutions I believe we can
Awesome.
No branches or pull requests
Problem/Motivation
In https://www.drupal.org/project/drupal/issues/2997960 it was identified that
taxonomy_update_8502()
is not run correctly viaupdate:execute
when more than 100 terms are present in the database.hook_update_N
allows long running update operations to be batched via the $context parameter, as documented at https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension%21module.api.php/function/hook_update_N/8.6.x but it appears Drupal Console does not implement this, as per https://github.com/hechoendrupal/drupal-console/blob/master/src/Command/Update/ExecuteCommand.php#L338-L340 which only ever runs the update hook once.How to reproduce
update:execute
taxonomy_update_8502()
Solution
Implement batch updates during
update:execute
.See also
#3574
#3787
The text was updated successfully, but these errors were encountered: