PM-599 "Se pierde sesion al ingresar a history case en el case tracker..." SOLVED
Issue:
En los listados se pierde sesion al tratar de ordenar las
columnas (esto en: MY CASE FORMS AND DOCUMENTS, MY CASE HISTORY, MY HISTORY MESSAGES)
Cause:
El "case tracker" es un modulo que no se inicia con un usuario de ProcessMaker, el script
"propelTableAjax" es el encargado de generar los listado, a este script se debe acceder "without session started",
lo cual no ocurre por lo que se redirecciona al login
Solution:
Se ha agregado en sysGeneric a "propelTableAjax" para que este en el grupo de scripts "without session started"
Se ha validado la variable $_SESSION["USER_LOGGED"] si esta definida o no.
This commit is contained in:
@@ -78,7 +78,7 @@
|
|||||||
//order by
|
//order by
|
||||||
$orderBy = get_ajax_value('order');
|
$orderBy = get_ajax_value('order');
|
||||||
if (isset($orderBy)) {
|
if (isset($orderBy)) {
|
||||||
$orderBy = urldecode($orderBy);
|
$orderBy = urldecode($orderBy);
|
||||||
$ntable->orderBy = $orderBy;
|
$ntable->orderBy = $orderBy;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -126,11 +126,16 @@
|
|||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
$ntable->renderTable( 'content' );
|
$ntable->renderTable("content");
|
||||||
|
|
||||||
G::LoadClass('configuration');
|
G::LoadClass("configuration");
|
||||||
$conf = new Configurations();
|
|
||||||
$conf->setConfig($ntable->__Configuration,$ntable,$conf->aConfig);
|
$conf = new Configurations();
|
||||||
$conf->saveConfig('pagedTable',$ntable->__OBJ_UID,'',$_SESSION['USER_LOGGED'],'');
|
$conf->setConfig($ntable->__Configuration, $ntable, $conf->aConfig);
|
||||||
|
|
||||||
|
if (isset($_SESSION["USER_LOGGED"])) {
|
||||||
|
$conf->saveConfig("pagedTable", $ntable->__OBJ_UID, "", $_SESSION["USER_LOGGED"], "");
|
||||||
|
} else {
|
||||||
|
$conf->saveConfig("pagedTable", $ntable->__OBJ_UID);
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@@ -892,6 +892,7 @@ if (! defined( 'EXECUTE_BY_CRON' )) {
|
|||||||
$noLoginFiles[] = 'cases_NextStep';
|
$noLoginFiles[] = 'cases_NextStep';
|
||||||
$noLoginFiles[] = 'genericAjax';
|
$noLoginFiles[] = 'genericAjax';
|
||||||
$noLoginFiles[] = 'casesSaveDataView';
|
$noLoginFiles[] = 'casesSaveDataView';
|
||||||
|
$noLoginFiles[] = "propelTableAjax";
|
||||||
|
|
||||||
$noLoginFolders[] = 'services';
|
$noLoginFolders[] = 'services';
|
||||||
$noLoginFolders[] = 'tracker';
|
$noLoginFolders[] = 'tracker';
|
||||||
|
|||||||
Reference in New Issue
Block a user