There was a bug with options parsing which was fixed in r6857 (http://trac.symfony-project.com/changeset/6857).
Fabien -- Fabien Potencier Sensio CEO - symfony lead developer http://www.sensiolabs.com/ http://www.symfony-project.com/ Sensio Labs Tél: +33 1 40 99 80 80 Christian Schaefer wrote: > hi there, > > I am just migrating some tasks to the new task system. > > the first one is done and it feels far better now. > the second however is a kind of shortcut to the first with fixed > arguments. > > this is my execute method of the second task: > > protected function execute($arguments = array(), $options = array()) > { > $new_arguments = array() > $new_arguments['task'] = 'mytasks:first'; > $new_arguments['folder'] = 'app/'; > > $new_options = array() > $new_options['recursive'] = true; > > $task = new myTasksFirstTask($this->dispatcher, $this->formatter); > $task->run($new_arguments, $new_options); > } > > I think it looks all right but I always get 'Too many arguments'. and > when I print those the arguments array contains a lot of strings like > '--'. > > > Any idea how to solve this? > > > cheers > /christian > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
