Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
panels_node_update_7302 is written as a multipass update hook, but it doesn't accept a sandbox argument. Consequently, it stops after processing 1000 (one pass).
Proposed resolution
Write a new update hook that accepts a sandbox argument.
Considering this major, since it leads to inaccessible pages for anyone using panels_node for over 1000 pieces of content.
Comment | File | Size | Author |
---|---|---|---|
#2 | panels_node_update_7302-2789013-1.patch | 1.9 KB | rbayliss |
Comments
Comment #2
rbayliss CreditAttribution: rbayliss at Last Call Media commentedComment #3
Dan_ScottThanks for this patch. The update worked for us (we have over 3000 pieces of content, and I was scratching my head all day!)
Comment #4
rbayliss CreditAttribution: rbayliss at Last Call Media commentedNice, glad it was helpful. Any thoughts from the maintainers about getting this in?
Comment #5
DamienMcKennaLets combine efforts on #2192993: Change panels_update_7302 to use a batch to update records which is rewriting update 7302.