• Drupal 8.7.1
  • PHP 7.2
  • Entity Queue 8.x-1.0-beta2

Steps to reproduce:

  1. Create a new simple queue
  2. Under queue settings, restrict this queue to a minimum of 0 and a maximum of 1 items
  3. Add item to the queue. Search, click add item, then save.
  4. /admin/structure/entityqueue will show 0 items for the queue making you think nothing saved
  5. Clicking "Edit items" will also just show the autocomplete form.
  6. Adjust the queue to minimum of 0 and maximum of 2
  7. /admin/structure/entityqueue will now show the 1 item you previously added.
  8. Clicking "Edit items" will now show the 1 item you previously added.

example

CommentFileSizeAuthor
#4 3055520.patch2.36 KBamateescu
#2 skitch (3).png105.48 KBjoelsteidl

Comments

joelsteidl created an issue. See original summary.

joelsteidl’s picture

Issue summary: View changes
StatusFileSize
new105.48 KB
joelsteidl’s picture

Title: Simple queue with a minimum of 0 and maximum of 1 items shows creates error. » Simple queue with a minimum of 0 and maximum of 1 items creates error.
amateescu’s picture

Status: Active » Fixed
StatusFileSize
new2.36 KB

This was caused by #3021483: Hide "add another item" when queue is full, and the problem is that the table mapping no longer recognizes the subqueue items field as stored in a dedicated table.

Fixed it with the patch attached.

  • amateescu committed c67d8a2 on 8.x-1.x
    Issue #3055520 by amateescu, joelsteidl: Simple queue with a minimum of...

Status: Fixed » Closed (fixed)

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