How to reproduce:

* Install Drupal 7, latest dev nodequeue and latest dev auto nodequeue
* Create a vocabulary "Movie Genres" with terms "Horror" and "Comedy"
* Create a smartqueue (taxonomy nodequeue) for the vocabolary and check the box to auto add nodes.
* Manually add some nodes to the queues
* Create a new node add assign it to "Horror"
* Create a new node add assign it to "Comedy"

Result:
Both nodes either end up in the Horror smartqueue or the Comedy smartqueue.

Expected result:
The Horror node would end up in the Horror smartqueue and the Comedy node in the Comedy smartqueue.

CommentFileSizeAuthor
#2 add_smartqueues-1859050-2.patch1.27 KBAnonymous (not verified)

Comments

davidfells81@gmail.com’s picture

Status: Active » Postponed

The module explicitly does not support smartqueues, I haven't had time to implement them.

Anonymous’s picture

Status: Postponed » Needs review
StatusFileSize
new1.27 KB

This may not fix for every use case but it's a start.

lolandese’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Patch applies cleanly and provides the expected functionality. It adds the node only to the subqueue relative to the associated taxonomy term. Using Nodequeue 7.x-2.0-beta1.

Thanks.

P.S.: I went ahead and tested with a programmatically created node as well. Unfortunately this failed but this is probably due to the custom code I use to create taxonomy terms and nodes.

Related: http://lduros.net/posts/drupal-automatically-adding-nodes-relevant-taxon...

Anonymous’s picture

lolandese, thanks for testing the patch.

davidfells81@gmail.com’s picture

Released

davidfells81@gmail.com’s picture

Status: Reviewed & tested by the community » Closed (fixed)
lolandese’s picture

Thanks for committing . I have added a link to the Node Auto Queue module on the project page of the brand new Multi-currency pricelist module.