appflower/appflower_studio — pull request #6 by eventhorizonpl (2012-08-29 12:43:06+00:00)
Title: fix missing argument

Hi,

This patch fixes the following error when displaying widget

Response decoding error
url: /afsWidgetBuilder/getWidget?uri=accounts%2Flist

( ! ) Warning: Missing argument 5 for afsWidgetModelHelper::retrieve(), called in /home/michal/projekty/appflower_studio_playground/plugins/appFlowerStudioPlugin/lib/command/widget/afStudioWidgetCommand.class.php on line 36 and defined in /home/michal/projekty/appflower_studio_playground/plugins/appFlowerStudioPlugin/lib/view/widget/model/helper/afsWidgetModelHelper.class.php on line 67
Call Stack
#	Time	Memory	Function	Location
1	0.0001	244168	{main}( )	../index.php:0
2	0.1264	2295744	sfContext->dispatch( )	../index.php:9
3	0.1264	2295840	sfFrontWebController->dispatch( )	../sfContext.class.php:170
4	0.1266	2304080	sfController->forward( )	../sfFrontWebController.class.php:48
5	0.1376	2504288	sfFilterChain->execute( )	../sfController.class.php:238
6	0.1382	2504576	sfRenderingFilter->execute( )	../sfFilterChain.class.php:53
7	0.1382	2504784	sfFilterChain->execute( )	../sfRenderingFilter.class.php:33
8	0.1387	2504784	afsStudioBasicSecurityFilter->execute( )	../sfFilterChain.class.php:53
9	0.1503	2547192	sfFilterChain->execute( )	../afsStudioBasicSecurityFilter.class.php:25
10	0.1508	2547192	sfCommonFilter->execute( )	../sfFilterChain.class.php:53
11	0.1509	2547440	sfFilterChain->execute( )	../sfCommonFilter.class.php:29
12	0.1513	2547440	XmlParserValidationFilter->execute( )	../sfFilterChain.class.php:53
13	0.1527	2569624	sfFilterChain->execute( )	../XmlParserValidationFilter.class.php:72
14	0.1532	2569624	NullFilter->execute( )	../sfFilterChain.class.php:53
15	0.1533	2570024	sfFilterChain->execute( )	../NullFilter.class.php:25
16	0.1537	2570024	ExceptionCatchingFilter->execute( )	../sfFilterChain.class.php:53
17	0.1540	2570704	sfFilterChain->execute( )	../ExceptionCatchingFilter.class.php:18
18	0.1544	2570704	sfExecutionFilter->execute( )	../sfFilterChain.class.php:53
19	0.1546	2571664	sfExecutionFilter->handleAction( )	../sfExecutionFilter.class.php:42
20	0.1547	2571824	afExecutionFilter->executeAction( )	../sfExecutionFilter.class.php:78
21	0.1549	2572376	sfActions->execute( )	../afExecutionFilter.class.php:21
22	0.1554	2572664	afsWidgetBuilderActions->executeGetWidget( )	../sfActions.class.php:60
23	0.1557	2580656	afStudioCommand::process( )	../actions.class.php:30
24	0.1562	2594240	afBaseStudioCommand->process( )	../afStudioCommand.class.php:51
25	0.1563	2594904	call_user_func ( )	../afBaseStudioCommand.class.php:58
26	0.1563	2594904	afStudioWidgetCommand->processGet( )	../afBaseStudioCommand.class.php:58
27	0.1573	2615352	afsWidgetModelHelper::retrieve( )	../afStudioWidgetCommand.class.php:36

Best regards,
Michal