Skip overview in list if overview was deleted in the meantime (race condition).
This commit is contained in:
parent
1e745f00d8
commit
c16c86e99e
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ class Sessions::Backend::TicketOverviewList < Sessions::Backend::Base
|
||||||
index_and_lists.each do |index|
|
index_and_lists.each do |index|
|
||||||
assets = {}
|
assets = {}
|
||||||
overview = Overview.lookup(id: index[:overview][:id])
|
overview = Overview.lookup(id: index[:overview][:id])
|
||||||
|
next if !overview
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
name: overview.name,
|
name: overview.name,
|
||||||
prio: overview.prio,
|
prio: overview.prio,
|
||||||
|
|
Loading…
Reference in a new issue