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.

CommentFileSizeAuthor
#2 2626018-1.patch1.15 KBpianomansam
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pianomansam created an issue. See original summary.

pianomansam’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Issue summary: View changes
FileSize
1.15 KB

While 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).

salvis’s picture

Thank 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.

pianomansam’s picture

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.

That'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.