Merged in bugfix/HOR-3379 (pull request #5737)
HOR-3379 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
@@ -2912,19 +2912,20 @@ class AppSolr
|
|||||||
$oAppSolrQueue->createUpdate ($AppUid, $traceData, $updated);
|
$oAppSolrQueue->createUpdate ($AppUid, $traceData, $updated);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getCurrentTraceInfo()
|
private function getCurrentTraceInfo()
|
||||||
{
|
{
|
||||||
$resultTraceString = "";
|
$resultTraceString = "";
|
||||||
|
$traceData = debug_backtrace();
|
||||||
//
|
foreach ($traceData as $key => $value) {
|
||||||
$traceData = debug_backtrace();
|
if ($value['function'] != 'getCurrentTraceInfo' && $value['function'] != 'require_once') {
|
||||||
foreach ($traceData as $key => $value) {
|
if (isset($value['file']) && isset($value['line']) && isset($value['function'])) {
|
||||||
if($value['function'] != 'getCurrentTraceInfo' && $value['function'] != 'require_once')
|
$resultTraceString .= $value['file'] . " (" . $value['line'] . ") " . $value['function'] . "\n";
|
||||||
$resultTraceString .= $value['file'] . " (" . $value['line'] . ") " . $value['function'] . "\n";
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $resultTraceString;
|
||||||
}
|
}
|
||||||
return $resultTraceString;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update application records in Solr that are stored in APP_SOLR_QUEUE table
|
* Update application records in Solr that are stored in APP_SOLR_QUEUE table
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1152,7 +1152,9 @@ class Cases
|
|||||||
//Logger deleteCase
|
//Logger deleteCase
|
||||||
$nameFiles = '';
|
$nameFiles = '';
|
||||||
foreach (debug_backtrace() as $node) {
|
foreach (debug_backtrace() as $node) {
|
||||||
$nameFiles .= $node['file'] . ":" . $node['function'] . "(" . $node['line'] . ")\n";
|
if (isset($node['file']) && isset($node['function']) && isset($node['line'])) {
|
||||||
|
$nameFiles .= $node['file'] . ":" . $node['function'] . "(" . $node['line'] . ")\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$dataLog = \Bootstrap::getDefaultContextLog();
|
$dataLog = \Bootstrap::getDefaultContextLog();
|
||||||
$dataLog['usrUid'] = isset($_SESSION['USER_LOGGED']) ? $_SESSION['USER_LOGGED'] : G::LoadTranslation('UID_UNDEFINED_USER');
|
$dataLog['usrUid'] = isset($_SESSION['USER_LOGGED']) ? $_SESSION['USER_LOGGED'] : G::LoadTranslation('UID_UNDEFINED_USER');
|
||||||
|
|||||||
Reference in New Issue
Block a user