Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.2.0, 1.2.1
-
Fix Version/s: 1.2.2
-
Component/s: Caching, Native SQL
-
Labels:None
-
Environment:Solaris
Description
Doctrine_RawSql::calculateResultCacheHash tries to call $this->getSql() - an undefined method - on line 444 of RawSql.php.
I get the same error during:
$q = new Doctrine_RawSql();
$q->useResultCache(true);
I fixed it, by change from:
$sql = $this->getSql();
to:
$sql = $this->getDql();
In Doctrine_RawSql 444 line.