[Pharo-project] [BUG]: XMLRPC 1.0-alpha4 calls with -/+ 1 arg fail
Sean P. DeNigris
sean at clipperadams.com
Mon Feb 28 23:29:35 CET 2011
It seems that 1.0-alpha4 only handles calls with one argument. The problem
seems to be in following statement from XMLRPCServerRequest>>methodResponse:
ret := ((srv key) perform: (srv value) with: (self params)).
#perform:with: only expects one argument (per the comment) and fails if
A solution is to use #perform:withArguments: like so:
ret := ((srv key) perform: (srv value) withArguments: self params
n.b. The parameters are stored in an OrderedCollection, which must be
converted to an array
View this message in context: http://forum.world.st/BUG-XMLRPC-1-0-alpha4-calls-with-1-arg-fail-tp3328882p3328882.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
More information about the Pharo-project