BUG 8369 Problem when using the new editor for PM Tables ... SOLVED
- There is a major problem when using the new editor for PM Tables with Database Connections, if you choose a database connection (anything you have created as a Database Connection in process designer). - Fix-bug and Addition of session variable in the different connections PMTables(Victor).
This commit is contained in:
@@ -320,7 +320,10 @@ class AdditionalTables extends BaseAdditionalTables {
|
||||
function getAllData($sUID, $start=NULL, $limit=NULL, $keyOrderUppercase = true)
|
||||
{
|
||||
$addTab = new AdditionalTables();
|
||||
$aData = $addTab->load($sUID, true);
|
||||
$aData = $addTab->load($sUID, true);
|
||||
if (! isset($_SESSION['PROCESS'])) {
|
||||
$_SESSION["PROCESS"] = $aData['PRO_UID'];
|
||||
}
|
||||
$aData['DBS_UID'] = $aData['DBS_UID'] ? $aData['DBS_UID'] : 'workflow';
|
||||
$sPath = PATH_DB . SYS_SYS . PATH_SEP . 'classes' . PATH_SEP;
|
||||
$sClassName = ($aData['ADD_TAB_CLASS_NAME'] != '' ? $aData['ADD_TAB_CLASS_NAME'] : $this->getPHPName($aData['ADD_TAB_NAME']));
|
||||
|
||||
@@ -109,6 +109,9 @@ class pmTablesProxy extends HttpProxyController
|
||||
*/
|
||||
public function getDbConnectionsList()
|
||||
{
|
||||
if (! isset($_SESSION['PROCESS'])) {
|
||||
$_SESSION['PROCESS'] = $_POST['PRO_UID'];
|
||||
}
|
||||
G::LoadClass ( 'dbConnections');
|
||||
$proUid = $_POST['PRO_UID'];
|
||||
$dbConn = new DbConnections();
|
||||
|
||||
Reference in New Issue
Block a user