aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/model/problem.t
diff options
context:
space:
mode:
authorHakim Cassimally <hakim@mysociety.org>2014-02-20 17:02:33 +0000
committerMatthew Somerville <matthew@mysociety.org>2014-02-27 17:27:25 +0000
commit5ba57c5a9c8ecc51e73075fa003afa3694e7d269 (patch)
tree00ed24d5da9c054fac7b47bc585516b61ba079c2 /t/app/model/problem.t
parentcebc2d4fe88228a9864e737c9cdbdf94629f1554 (diff)
Fix uncommon Open311 errors on processing updates.
Fixes #677. The query to fetch the related alert sometimes: * retrieves no result, causing an error on $alert->id * retrieves multiple results, causing deprecation warnings (e.g. which may at some point become future errors in DBIC) This commit turns the resultset('DB::Alert')->find(...) into a search(...) and loops over the results, to suppress them.
Diffstat (limited to 't/app/model/problem.t')
0 files changed, 0 insertions, 0 deletions