I get the same problem as this node http://drupal.org/node/82890
I can't retrieve anything from views with amfphp as soon as i add an argument!
I know this is not a release but i really need it, any help appreciated!
the solution there was a change on views.module views_build_view(). but i don't have this function on my versions.... (Drupal 6.5, Services 6.x-0.9, Views Service 6.x-0.9, Views 6.x-2.0-rc5, amfphp-1.9.beta)
Trying to send an argument (term = "cat1") from as3:
gateway = new NetConnection();
gateway.connect(http://mydomain.com/services/amfphp);
var responder:Responder = new Responder(onMediasComplete, onFault);
gateway.call("views.getView", responder, apikey, viewname, new Array('Cat1'));
A trace of the result nodes gives me that :
trace(ObjectUtil.toString(nodes));
=====================
(Array)#0
[0] (Object)#1
Cat1 = (null)
[1] (Object)#2
Cat1 = (null)
[2] (Object)#3
Cat1 = (null)
[3] (Object)#4
Cat1 = (null)
[4] (Object)#5
Cat1 = (null)
[5] (Object)#6
Cat1 = (null)
[6] (Object)#7
Cat1 = (null)
[7] (Object)#8
Cat1 = (null)
[8] (Object)#9
Cat1 = (null)
when i was supposed to get 2 complete nodes...
Thanks!
Comments
Comment #1
pguillard commentedI forgot to say that:
- at the same time my view is running ok with arguments when not tested through services
- i use amfphp-1.9-beta-2 from http://www.5etdemi.com/blog/archives/2007/01/amfphp-19-beta-2-ridiculous...
- i use amfphp-6.x-1.x-dev.zip from http://drupal.org/node/219365
Comment #2
pguillard commentedI finally found a solution there : http://drupal.org/node/232416
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.