PM-16288 PM falla al crear grilla como tabla de PM sobre oracle
Se quito la opcion REPORT y solo se listan las conexiones de tipo MySQL.
This commit is contained in:
@@ -154,8 +154,9 @@ class dbConnections
|
||||
$result = DbSourcePeer::doSelectRS( $c );
|
||||
$result->next();
|
||||
$row = $result->getRow();
|
||||
|
||||
while ($row = $result->getRow()) {
|
||||
if (trim( $pProUid ) == trim( $row[1] )) {
|
||||
if ((trim( $pProUid ) == trim( $row[1] )) && ($row[2] == 'mysql')) {
|
||||
$connections[] = Array ('DBS_UID' => $row[0],'DBS_NAME' => '[' . $row[3] . '] ' . $row[2] . ': ' . $row[4]
|
||||
);
|
||||
}
|
||||
|
||||
@@ -116,10 +116,7 @@ class pmTablesProxy extends HttpProxyController
|
||||
$proUid = $_POST['PRO_UID'];
|
||||
$dbConn = new DbConnections();
|
||||
$dbConnections = $dbConn->getConnectionsProUid( $proUid );
|
||||
$defaultConnections = array (array ('DBS_UID' => 'workflow','DBS_NAME' => 'Workflow'
|
||||
),array ('DBS_UID' => 'rp','DBS_NAME' => 'REPORT'
|
||||
)
|
||||
);
|
||||
$defaultConnections = array (array ('DBS_UID' => 'workflow','DBS_NAME' => 'Workflow'));
|
||||
|
||||
$dbConnections = array_merge( $defaultConnections, $dbConnections );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user