ZF-11810: Cascade delete does not work for customly deleted rows


The cascadeDelete() method works only when the delete operation is performed over a Zend_Db_Table_Row. For instance it works successfully in the following case:

$table = new Application_Model_DbTable_Sample();

but it does not work for:

$table = new Application_Model_DbTable_Sample();

seems like a bug, right?


Attached patch which fixes this issue.

Fixed in trunk (1.12.0) r24957