On 23 Jul., 20:33, Nicolas Perriault <[email protected]> wrote: > On Thu, Jul 23, 2009 at 8:31 PM, Nicolas Perriault<[email protected]> > wrote: > >> As you are using the autoloader now it is not possible anymore to > >> override (replace implementation of) core tasks by plugins or in the > >> project which was possible before and also documented as feature in > >> the symfony book. > > > Strange, because functional tests include task autoloading from a > > plugin context (in ./pluginName/lib/task). Can you give me a concrete > > case I can study? > > Oh, okay, you're talking about core tasks overriding. I didn't write > any test case regarding that, so I'll do and fix my patch if needed. > > Sorry for the misunderstanding.
yeah, it's about core tasks overriding. That doesn't work because using the autoloading the core autoload matches first and loads the core tasks no matter if there are any tasks in the project or plugins with the same name. I use this feature to override the test tasks in my symfony 1.2 projects so I can use them to also execute plugin tests. Maybe we need something to remove a file from the core autoloader to solve the issue? Or a way to execute the task autoloader before the core autoloader is executed? I'm not an autoload expert.. regards, Matthias --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
