BUG 9246 Error message when using a DB Connection for a Report Table,.. SOLVED

- When trying to create a new Report Table and selecting an external database connection for the "DB Connection" parameter, the following error message appears:
- Adjustment DB Connections for a Report Table,  to diferents externals databases.
This commit is contained in:
Hector Cortez
2012-06-15 18:26:18 -04:00
parent 1c623f10d2
commit ba87e9e4d3
2 changed files with 212 additions and 73 deletions

View File

@@ -103,6 +103,18 @@ class DbSource extends BaseDbSource
}
}
public function getValProUid($Uid)
{
$oCriteria = new Criteria('workflow');
$oCriteria->clearSelectColumns();
$oCriteria->addSelectColumn(DbSourcePeer::PRO_UID);
$oCriteria->add(DbSourcePeer::DBS_UID, $Uid);
$result = DbSourcePeer::doSelectRS($oCriteria);
$result->next();
$aRow = $result->getRow();
return $aRow[0];
}
function Exists ( $Uid, $ProUID ) {
try {
$oPro = DbSourcePeer::retrieveByPk( $Uid, $ProUID );