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.

Comments

mauritsl created an issue. See original summary.

mauritsl’s picture

Status: Active » Needs review
StatusFileSize
new1.51 KB

This patch fixes the issue for me.

vincentknol’s picture

StatusFileSize
new1.53 KB

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

shadcn’s picture

Assigned: mauritsl » Unassigned
Status: Needs review » Needs work

@vincentknol can you please upload an interdiff for the patches in #2 and #3? Thanks.

https://www.drupal.org/documentation/git/interdiff

vincentknol’s picture

Status: Needs work » Needs review
StatusFileSize
new1.44 KB

Done!

michaelmol’s picture

Status: Needs review » Reviewed & tested by the community

Patch 3 works fine!

  • arshadcn committed 195fffc on 8.x-1.x authored by vincentknol
    Issue #2866698 by vincentknol, mauritsl, arshadcn, michaelmol: Remove...
shadcn’s picture

Status: Reviewed & tested by the community » Fixed

Thanks. Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.