FS#55228 - [phpvirtualbox] SOAP Validation constraint violation
Attached to Project:
Community Packages
Opened by Thomas (Tom077) - Monday, 21 August 2017, 19:09 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 10 January 2018, 19:57 GMT
Opened by Thomas (Tom077) - Monday, 21 August 2017, 19:09 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 10 January 2018, 19:57 GMT
|
Details
Description:
VM config can't be edited. New VM can't be created. Error windows appears (see attached screenshots). It seems to be an issue with SOAP dialogues between phpvirtualbox and the new 5.1.26 vboxwebserver service (wrong arguments content given to __soapCall). I attached a patch proposal that fix the issue. Additional info: phpvirtualbox 5.0_5-2 apache 2.4.27-1 php 7.1.8-1 config.php is attached. Steps to reproduce: Add a new VM or Edit a VM config and then validate. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Wednesday, 10 January 2018, 19:57 GMT
Reason for closing: Fixed
Additional comments about closing: phpvirtualbox 5.2_0rc1-4
Wednesday, 10 January 2018, 19:57 GMT
Reason for closing: Fixed
Additional comments about closing: phpvirtualbox 5.2_0rc1-4
Thank you for the patch. We have applied it upstream and can be see in this commit: https://github.com/phpvirtualbox/phpvirtualbox/commit/4c639d47106d0e5a272ef4a75eeaf7cb3a4a9d05
It will be merged into master once we have completed the RC process. Please verify it works for you.
Cheers,
Tudor
I found 3 more buggy "SOAP" functions that are called when editing storage controllers of an existing VM.
Here is a patch to fix theses 3 functions.
Thomas
We should backport the patch* mentioned above, and also this I guess: https://github.com/phpvirtualbox/phpvirtualbox/commit/c84bf6b462cc43854fa7e04ce0fa71cadd4eadc7
EDIT:
* - ==> commit ;)
https://github.com/phpvirtualbox/phpvirtualbox/commit/c84bf6b462cc43854fa7e04ce0fa71cadd4eadc7.patch
https://github.com/phpvirtualbox/phpvirtualbox/commit/4c639d47106d0e5a272ef4a75eeaf7cb3a4a9d05.patch
I have tested basic functionalities and I don't get any more "SOAPFault" errors.
Thanks a lot!