From 86b73b30a6dc5119e7c13fb5142500ce87a3537f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 10 Nov 2015 15:17:12 +0000 Subject: [PATCH] Bug 14735: Save cache_expiry on modifying a report The cache_expiry is not saved when updating a SQL report. Test plan: 0/ Enable memcached 1/ Create a sql report 2/ Edit it and change the cache expiry value 3/ Edit again => The value should have been updated. Signed-off-by: Frederic Demians Repeatable bug. Solved with this patch. --- reports/guided_reports.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index 71b9253..098a3d1 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -233,6 +233,7 @@ elsif ( $phase eq 'Update SQL'){ subgroup => $subgroup, notes => $notes, public => $public, + cache_expiry => $cache_expiry, } ); $template->param( 'save_successful' => 1, -- 2.6.2