PM-3850 "Problema al regenerar los nuevos listados..." SOLVED
This commit is contained in:
@@ -682,17 +682,7 @@ function migrate_new_cases_lists($command, $args) {
|
|||||||
print_r("Upgrading database in " . pakeColor::colorize($workspace->name, "INFO") . "\n");
|
print_r("Upgrading database in " . pakeColor::colorize($workspace->name, "INFO") . "\n");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$ws = $workspace->name;
|
$workspace->migrateList($workspace->name, true);
|
||||||
$sContent = file_get_contents (PATH_DB . $ws . PATH_SEP . 'db.php');
|
|
||||||
if (strpos($sContent, 'rb_')) {
|
|
||||||
$workspace->onedb = false;
|
|
||||||
} else {
|
|
||||||
$workspace->onedb = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($workspace->onedb) {
|
|
||||||
$workspace->migrateList($workspace->name, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
echo "> List tables are done\n";
|
echo "> List tables are done\n";
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
|||||||
@@ -2128,6 +2128,8 @@ class workspaceTools
|
|||||||
}
|
}
|
||||||
CLI::logging("> Completed table LIST_PAUSED\n");
|
CLI::logging("> Completed table LIST_PAUSED\n");
|
||||||
|
|
||||||
|
/*
|
||||||
|
//Currently this list is not being used, it must be redesigned. Currently the APP_CACHE_VIEW is still used.
|
||||||
//Select and Insert LIST_UNASSIGNED
|
//Select and Insert LIST_UNASSIGNED
|
||||||
$unaCriteria = $appCache->getSelAllColumns();
|
$unaCriteria = $appCache->getSelAllColumns();
|
||||||
$unaCriteria->add(AppCacheViewPeer::USR_UID, "", CRITERIA::EQUAL);
|
$unaCriteria->add(AppCacheViewPeer::USR_UID, "", CRITERIA::EQUAL);
|
||||||
@@ -2144,6 +2146,7 @@ class workspaceTools
|
|||||||
}
|
}
|
||||||
CLI::logging("> Completed table LIST_UNASSIGNED\n");
|
CLI::logging("> Completed table LIST_UNASSIGNED\n");
|
||||||
CLI::logging("> Completed table LIST_UNASSIGNED_GROUP\n");
|
CLI::logging("> Completed table LIST_UNASSIGNED_GROUP\n");
|
||||||
|
*/
|
||||||
|
|
||||||
// ADD LISTS COUNTS
|
// ADD LISTS COUNTS
|
||||||
$aTypes = array(
|
$aTypes = array(
|
||||||
|
|||||||
Reference in New Issue
Block a user