appflower/appflower_studio — pull request #5 by eventhorizonpl (2012-08-29 09:25:40+00:00)
Title: fix for afs:generate-widget-all task

Hi,

This patch fixes the following problem in afs:generate-widget-all task

Warning: Illegal string offset 'columns' in /home/michal/projekty/appflower_studio_playground/plugins/appFlowerStudioPlugin/lib/command/model/modificator/afStudioModelCommandModificator.class.php on line 385

Call Stack:
0.0008 225872 1. {main}() /usr/bin/symfony:0
0.0331 459104 2. include('/home/michal/projekty/appflower_studio_playground/lib/vendor/symfony/lib/command/cli.php') /usr/bin/symfony:37
0.8242 10237072 3. sfSymfonyCommandApplication->run() /home/michal/projekty/appflower_studio_playground/lib/vendor/symfony/lib/command/cli.php:20
0.8361 10242904 4. sfTask->runFromCLI() /home/michal/projekty/appflower_studio_playground/lib/vendor/symfony/lib/command/sfSymfonyCommandApplication.class.php:76
0.8363 10243480 5. sfBaseTask->doRun() /home/michal/projekty/appflower_studio_playground/lib/vendor/symfony/lib/task/sfTask.class.php:97
1.1018 10316832 6. afsGenerateWidgetAllTask->execute() /home/michal/projekty/appflower_studio_playground/lib/vendor/symfony/lib/task/sfBaseTask.class.php:68
130.1990 32746720 7. sfTask->run() /home/michal/projekty/appflower_studio_playground/plugins/appFlowerStudioPlugin/lib/task/generator/afsGenerateWidgetAllTask.class.php:55
130.2000 32750824 8. sfBaseTask->doRun() /home/michal/projekty/appflower_studio_playground/lib/vendor/symfony/lib/task/sfTask.class.php:173
130.2014 32753496 9. afsGenerateWidgetTask->execute() /home/michal/projekty/appflower_studio_playground/lib/vendor/symfony/lib/task/sfBaseTask.class.php:68
132.3311 33394032 10. afStudioCommand::process() /home/michal/projekty/appflower_studio_playground/plugins/appFlowerStudioPlugin/lib/task/generator/afsGenerateWidgetTask.class.php:93
132.3312 33394192 11. afBaseStudioCommand->process() /home/michal/projekty/appflower_studio_playground/plugins/appFlowerStudioPlugin/lib/command/afStudioCommand.class.php:51
132.3313 33394712 12. call_user_func() /home/michal/projekty/appflower_studio_playground/plugins/appFlowerStudioPlugin/lib/command/base/afBaseStudioCommand.class.php:58
132.3313 33394712 13. afStudioModelCommand->processRead() /home/michal/projekty/appflower_studio_playground/plugins/appFlowerStudioPlugin/lib/command/base/afBaseStudioCommand.class.php:58
134.3612 33505016 14. afStudioModelCommandModificator->readModelFields() /home/michal/projekty/appflower_studio_playground/plugins/appFlowerStudioPlugin/lib/command/model/afStudioModelCommand.class.php:124

Best regards,
Michal