#22171[EM] Upload to TER is broken
Description
When uploading an extension, soap client quit with
Fatal error: SOAP-ERROR: Encoding: object hasn’t ‘name’ property in /var/www/web70/html/trunk/typo3/mod/tools/em/class.em_soap.php on line 230
Reason:
The WSDL was fixed 2 days ago. Now soap validates correct, which wasn’t the case before. That means that the information has to be exact in the format of the WSDL.
For files this wasn’t the case, the array sended has wrong format. WSDL says:
<filesData soapenc:arrayType="?" soapenc:offset="?" id="?" href="?">
<!--1 or more repetitions:-->
<fileData>
<name>?</name>
<size>?</size>
<!--Optional:-->
<modificationTime>?</modificationTime>
<content>cid:694123977209</content>
<contentMD5>?</contentMD5>
</fileData>
</filesData>
and EM sends $filesData[‘fileData’][] = array (…)
This is one level too much, correct is
$filesData[] = array (…);
(issue imported from #M13637)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.