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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | add_smartqueues-1859050-2.patch | 1.27 KB | Anonymous (not verified) |
Comments
Comment #1
davidfells81@gmail.com commentedThe module explicitly does not support smartqueues, I haven't had time to implement them.
Comment #2
Anonymous (not verified) commentedThis may not fix for every use case but it's a start.
Comment #3
lolandese commentedPatch 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...
Comment #4
Anonymous (not verified) commentedlolandese, thanks for testing the patch.
Comment #5
davidfells81@gmail.com commentedReleased
Comment #6
davidfells81@gmail.com commentedComment #7
lolandese commentedThanks 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.