-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ArrayType and StructType not working properly? #6
Comments
I've also had the problem that the result from methodResponse is empty, when the XML-Response had whitespace. I've made a pull request to fix it, maybe this will solve your problem too. |
@flowlive It seems that you didn't wrap your array content into If you sure that your XML request is valid, please show me your case to help me reproduce this error. Thanks! |
Hi skolo :) Here is what i found out, after chrisank pointed out an issue with whitespaces: I will do further tests, and let you know if anything else crashes ;-) EDIT: okay, i found a similar bug within the struct type. There are no whitespaces allowed between any tags in a struct as far as my testings go. |
@flowlive @chrisank thanks for pointing on an important problem with bundle. I have pushed a fix. Feel free to reopen the ticket if problem is not resolved. Thanks and good luck |
when trying to send a xml file with param array in it, i get this faultmsg back from the server:
faultCode0faultStringNotice: Trying to get property of non-object in /var/www/html/symfony/vendor/seven/symfony-rpc-bundle/Seven/RpcBundle/XmlRpc/ValueType/ArrayType.php line 41
Also, trying to send a simple struct and returning sizeof(struct) gives back 0 in the methodResponse.
Are these known issues or am i just overseeing something with these two types? Am i doing something wrong?
The text was updated successfully, but these errors were encountered: