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.
Since taxonomy subscriptions rely on the taxonomy_index
table, and since the taxonomy index is broken by Workbench Moderation (#2272743: Workbench Moderation breaks taxonomy indexing, taxonomy subscriptions are broken. The Workbench Moderation issue for this doesn't have a resolution at this time, so neither does this issue. However, I wanted to have it documented so that someone coming here to troubleshoot non-functioning taxonomy subscriptions would know what the issue was.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2626018-1.patch | 1.15 KB | pianomansam |
Comments
Comment #2
pianomansam CreditAttribution: pianomansam commentedWhile there is no solution, there is a possible work-a-round. Instead of relying on the taxonomy index, you could modify the SQL query for the queue operation in subscriptions_taxonomy_subscriptions() to look directly at a particular taxonomy field. Attached is an example of looking at a particular term reference field (field_topic).
Comment #3
salvisThank you for the heads up and the patch, pianomansam.
Just to make it clear: The patch is not a general solution. The name of the taxonomy field needs to be adjusted after applying the patch, and it will work just for that one field.
Comment #4
pianomansam CreditAttribution: pianomansam commentedThat's correct. And the patch is actually for a term reference field. If you are using an entity reference field, it will be even different.