From: karl%kornel.name <> Date: Wed, 16 Nov 2005 09:13:41 +0000 (+0000) Subject: Bug 257813: CSV link from new charts gives internal error if data contains more than... X-Git-Tag: bugzilla-2.22rc1~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6ec14acfbc6cac05e38fe2fc747bb519832260d;p=thirdparty%2Fbugzilla.git Bug 257813: CSV link from new charts gives internal error if data contains more than 1000 dates - Patch by A. Karl Kornel r=wicked a=justdave --- diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 4cbca29bd9..758a829af3 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -221,6 +221,12 @@ sub get_format { ############################################################################### # Templatization Code +# The Template Toolkit throws an error if a loop iterates >1000 times. +# We want to raise that limit. +# NOTE: If you change this number, you MUST RE-RUN checksetup.pl!!! +# If you do not re-run checksetup.pl, the change you make will not apply +$Template::Directive::WHILE_MAX = 1000000; + # Use the Toolkit Template's Stash module to add utility pseudo-methods # to template variables. use Template::Stash;