#1437: Call to $this->dispatcher->notify() instead of $this->notify() in
LoadData
-----------------------------------+----------------------------------------
Reporter: ggoodman | Owner: jwage
Type: defect | Status: new
Priority: minor | Milestone:
Component: Tasks | Version: 1.0
Keywords: | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 0
-----------------------------------+----------------------------------------
Using version 1.0
In Doctrine/Task/LoadData.php on line 45, a call is made directly to the
parent class's $dispatcher member that is not guaranteed to exist. This
line should instead call $this->notify('Data was successfully loaded');
instead.
To reproduce:
{{{
$task = Doctrine_Task_LoadData;
$task->setArguments(array('data_fixture_path' => '/data/fixture/path'));
if ($task->validate())
$task->execute();
}}}
--
Ticket URL: <http://trac.phpdoctrine.org/ticket/1437>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" 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.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---