This module does not respect the maximum queue size.
It is possible to check the "Act as queue" option (from entityqueue module). This will cap the queue to the maximum length, but will always shift off items from the top of the list. When auto_entityqueue is setup to add new items to the front of the list, this item will be added and deleted directly, thus effectively doing nothing. This is not the expected behavior. I expect the last item of the list to be removed when another item is (automatically) added in front of the list.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | interdiff-2866698-1-3.txt | 1.44 KB | vincentknol |
| #3 | auto-entityqueue-2866698-3.patch | 1.53 KB | vincentknol |
| #2 | auto-entityqueue-2866698-1.patch | 1.51 KB | mauritsl |
Comments
Comment #2
mauritsl commentedThis patch fixes the issue for me.
Comment #3
vincentknol commentedSwitching operands with this patch. This will fix the issue that an new item in an entity queue will replace the old one instead of adding it until it reaches its maximum capacity.
Comment #4
shadcn commented@vincentknol can you please upload an interdiff for the patches in #2 and #3? Thanks.
https://www.drupal.org/documentation/git/interdiff
Comment #5
vincentknol commentedDone!
Comment #6
michaelmol commentedPatch 3 works fine!
Comment #8
shadcn commentedThanks. Committed.