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.
Related to the great work done on #2054555, and badly needed as some queued tasks can be storing a lot of state within the data column causing this table to become very large very quickly. Unfortunately in between applying the patch in #17 and it getting merged, it seems that a bug was created. Specifically, within _advancedqueue_purge_history the conditional within which the db_delete of old rows is run is referencing an undefined variable. Looks like a simple mistake entered when the patch was applied and modified slightly. I'm attaching a patch which resolves this.
Comment | File | Size | Author |
---|---|---|---|
#2 | advancedqueue-cleanup-table-defined-var-fix-2854318-1.patch | 826 bytes | sambonner |
|
Comments
Comment #2
sambonner CreditAttribution: sambonner at Catalyst IT commentedAttaching patch.
Comment #3
hgoto CreditAttribution: hgoto as a volunteer commentedThank you @sambonner. I confirmed that the bug exists and the patch fixes it.
Comment #4
deggertsen CreditAttribution: deggertsen commented+1 to this patch. Thank you.
Comment #6
pjcdawkins CreditAttribution: pjcdawkins at Platform.sh commentedCommitted. Many thanks, @sambonner @hgoto and @deggertsen!