Hello,
There is a bug with the sfPropelFinder plugin. The plugin calls the
method getLastExecutedQuery which is only available in debug mode via
the sfDebugConnection
Index: sfPropelFinder.php
===================================================================
--- sfPropelFinder.php (revision 8206)
+++ sfPropelFinder.php (working copy)
@@ -73,7 +73,12 @@
public function updateLatestQuery()
{
- $this->latestQuery = Propel::getConnection()->getLastExecutedQuery();
+ $con = Propel::getConnection();
+ if(method_exists($con, 'getLastExecutedQuery')) {
+ $this->latestQuery = $con->getLastExecutedQuery();
+ } else {
+ $this->latestQuery = 'debug mode not enabled';
+ }
}
Thomas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---