Details
Description
If identifier quoting is enabled doctrine does not perform quoting in some subqueries.
$this->_conn->quoteIdentifier has to be added twice as below in query.php line 1426:
$subquery = 'SELECT doctrine_subquery_alias.' . $this->_conn->quoteIdentifier($table->getColumnName($table->getIdentifier())) . ' FROM (' . $subquery . ') doctrine_subquery_alias' . ' GROUP BY doctrine_subquery_alias.' . $this->_conn->quoteIdentifier($table->getColumnName($table->getIdentifier())) . ' ORDER BY MIN(ROWNUM)';
Activity
Jonathan H. Wage
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
If identifier quoting is enabled doctrine does not perform quoting in some subqueries. $this->_conn->quoteIdentifier has to be added twice as below in query.php line 1426: $subquery = 'SELECT doctrine_subquery_alias.' . $this->_conn- >quoteIdentifier($table->getColumnName($table->getIdentifier())) . ' FROM (' . $subquery . ') doctrine_subquery_alias' . ' GROUP BY doctrine_subquery_alias.' . $this->_conn- >quoteIdentifier($table->getColumnName($table->getIdentifier())) . ' ORDER BY MIN(ROWNUM)'; |
If identifier quoting is enabled doctrine does not perform quoting in some subqueries. $this->_conn->quoteIdentifier has to be added twice as below in query.php line 1426: {code} $subquery = 'SELECT doctrine_subquery_alias.' . $this->_conn->quoteIdentifier($table->getColumnName($table->getIdentifier())) . ' FROM (' . $subquery . ') doctrine_subquery_alias' . ' GROUP BY doctrine_subquery_alias.' . $this->_conn->quoteIdentifier($table->getColumnName($table->getIdentifier())) . ' ORDER BY MIN(ROWNUM)'; {code} |
| Assignee | Guilherme Blanco [ guilhermeblanco ] | Jonathan H. Wage [ jwage ] |
Jonathan H. Wage
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Fix Version/s | 1.2.0-RC1 [ 10041 ] | |
| Resolution | Fixed [ 1 ] |
Thomas Wahle
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Closed [ 6 ] | Reopened [ 4 ] |
Jonathan H. Wage
made changes -
| Status | Reopened [ 4 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |