From effadbde76132b09089b432d6f686dee0f5b8cb3 Mon Sep 17 00:00:00 2001 From: Marco Antonio Nina Date: Mon, 4 Mar 2013 12:39:03 -0400 Subject: [PATCH] BUG 10917 No se terminan de crear campos en la BD al hacer upgrade SOLVED - Variable not defined. - was add validation. --- workflow/engine/classes/class.wsTools.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/engine/classes/class.wsTools.php b/workflow/engine/classes/class.wsTools.php index 8590faeab..3822f6f37 100755 --- a/workflow/engine/classes/class.wsTools.php +++ b/workflow/engine/classes/class.wsTools.php @@ -86,7 +86,7 @@ class workspaceTools $start = microtime( true ); CLI::logging( "> Updating cache view...\n" ); - $this->upgradeCacheView( $buildCacheView ); + $this->upgradeCacheView( $buildCacheView, true); $stop = microtime( true ); $final = $stop - $start; CLI::logging( "<*> Process Updating cache view carried out in $final seconds.\n" ); @@ -427,7 +427,7 @@ class workspaceTools * @param bool $checkOnly only check if the upgrade is needed if true * @param string $lang not currently used */ - public function upgradeCacheView ($fill = true) + public function upgradeCacheView ($fill = true, $checkOnly = false) { $this->initPropel( true );