Actions
Bug #22171
closed[EM] Upload to TER is broken
Start date:
2010-02-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Files
Actions