summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorDylan Hardison <dylan@mozilla.com>2016-04-13 16:46:30 +0200
committerDylan Hardison <dylan@mozilla.com>2016-04-13 16:46:30 +0200
commit33f61556746e1729746342d802ca7ea9cea18caf (patch)
tree95e4cb3791be0cd9e09187cbbfbdd3cdc9feb5ff /Bugzilla.pm
parentcc0c32bcb0e9f1b6c0b0157f8480d69047740f1e (diff)
downloadbugzilla-33f61556746e1729746342d802ca7ea9cea18caf.tar.gz
bugzilla-33f61556746e1729746342d802ca7ea9cea18caf.tar.xz
Bug 1195736 - intermittent internal error: "file error - nav_link: not found" (also manifests as fields_lhs: not found)
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index 021783a75..cba448112 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -518,6 +518,9 @@ sub error_mode {
if (defined $newval) {
$class->request_cache->{error_mode} = $newval;
}
+ if ($class->template->in_process) {
+ return ERROR_MODE_DIE;
+ }
return $class->request_cache->{error_mode}
|| (i_am_cgi() ? ERROR_MODE_WEBPAGE : ERROR_MODE_DIE);
}