From c16c86e99ec7cc0c236914f92c5b73f0ba565e7f Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 2 May 2019 11:08:25 +0200 Subject: [PATCH] Skip overview in list if overview was deleted in the meantime (race condition). --- lib/sessions/backend/ticket_overview_list.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/sessions/backend/ticket_overview_list.rb b/lib/sessions/backend/ticket_overview_list.rb index 9e051b78c..a8493d4d4 100644 --- a/lib/sessions/backend/ticket_overview_list.rb +++ b/lib/sessions/backend/ticket_overview_list.rb @@ -74,6 +74,8 @@ class Sessions::Backend::TicketOverviewList < Sessions::Backend::Base index_and_lists.each do |index| assets = {} overview = Overview.lookup(id: index[:overview][:id]) + next if !overview + meta = { name: overview.name, prio: overview.prio,