Re: [phpxmlrpc-devel] BUG in release 1.0.99!!!
Brought to you by:
ggiunta
From: lukasz m. <lu...@ma...> - 2003-01-03 15:28:14
|
Gaetano Giunta wrote: > xmlrpc->faultcode() returns -1 on a succesful function call!!! > > This is in contrast with the manual and with previous behaviour. > probably you're talking about my "feature". in some situations( when mehtod throws error, but faultcode==0, in example client(phpxmlrpc)=>server(java xmlrpc.apache.org)) php client thinks there is no error. (because faultcode() test returns 0). so i made patch which fixes it, and returns fault -1 (which is properly recognized by client). this patch was applied to cvs. but i realized that i made mistake in that (in some versions of php doesn't work). i fixed it immediately and posted next patch, but for unknown reasons this wasn't imcluded to cvs. so i posted it to https://sourceforge.net/tracker/index.php?func=detail&aid=619008&group_id=34455&atid=411302 hope it helps regards maHo |