Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Can't Fix
-
Affects Version/s: 1.2.0
-
Fix Version/s: None
-
Component/s: Behaviors
-
Labels:None
Description
Hello,
I use Doctrine v. 1.2 with Symfony 1.4.
In the following source, when I execute a "DQL delete query", Doctrine
executes the fonction "preDqlDelete" (the log in the first line works)
but the $event->skipOperation(); doesn't work (the query is executed).
Is this normal?
public function preDqlDelete(Doctrine_Event $event)
{ sfContext::getInstance()->getLogger()->alert('I am in the function preDqlDelete'); $event->skipOperation(); }Thanx
This is not possible. The skipOperation is only possible to use for certain events. i.e. $obj->delete(), etc.