BUG 7922 "SRP: wrapped: Could not execute query.." SOLVED

(Fixes for import feature)
According the solution raised on the meeting
- the default selection for db connetions is workflow instead REPORT
- the prefix PMT for all pmtables was added
This commit is contained in:
Erik Amaru Ortiz
2011-11-25 10:06:42 -04:00
parent 7e4a313f60
commit b2017995b4
4 changed files with 8 additions and 15 deletions

View File

@@ -319,7 +319,8 @@ class AdditionalTables extends BaseAdditionalTables {
function getAllData($sUID, $start=NULL, $limit=NULL)
{
$aData = $this->load($sUID, true);
$addTab = new AdditionalTables();
$aData = $addTab->load($sUID, true);
$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']));