After deleting the last item of the queue I get two errors:

Notice: Undefined variable: result in-QueueUISystemQueue->inspect() (from line 52 -/site-name/sites/all/modules/queue_ui/lib/QueueUISystemQueue.php).

and:

Warning: Invalid argument supplied for foreach() in-QueueUISystemQueue->inspect() (line from -site-name/sites/all/modules/queue_ui/lib/QueueUISystemQueue.php).

Issue fork queue_ui-2227897

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

taitai’s picture

Title: Deleting last item not processed property » Deleting last item not processed properly
soul88’s picture

StatusFileSize
new370 bytes

Please check if this helps

justinstandring’s picture

Status: Active » Needs review
StatusFileSize
new477 bytes

#2 patch works, but leaves the user at the inspect page with an empty table. This patch (#3) redirects them back to the list of queues.

mouhammed’s picture

Status: Needs review » Reviewed & tested by the community

The patch #3 works.

belaustegui’s picture

I can confirm that the patch #3 works perfectly. Will it be merged into the stable version?
Thank you!

Chris Charlton’s picture

Bump.

jimmyko’s picture

+1 for the patch.

ronaldmulero’s picture

#3 works for me
• queue_ui 7.x-2.x

Chris Charlton’s picture

Cool. We've got more validated reports patch #3 is good. Let's move this in. :)

voleger made their first commit to this issue’s fork.

  • voleger committed 7a08bf5 on 7.x-2.x
    Issue #2227897 by justinstandring, Soul88, taitai, Chris Charlton,...
voleger’s picture

Pushed into 7.x-2.x
Thanks

voleger’s picture

Status: Reviewed & tested by the community » Fixed

Set proper status.

Status: Fixed » Closed (fixed)

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