Bug #37154

Extension Upload shows the invalid alert box

Added by Franz Holzinger about 1 year ago. Updated 12 months ago.

Status:Needs Feedback Start date:2012-05-14
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:Extension Manager
Target version:-
TYPO3 Version:4.7 Complexity:
PHP Version:5.3
Votes: 1 (View)

Description

When I upload an extension to TER, then an alert box pops up: "Invalid!"

No more info is given. The upload fails. It should give a clear description what went wrong and why it does not upload the extension.

The last SQL query comes from:
------------------------
t3lib_div::callUserFunction#73 // call_user_func_array#4659 // t3lib_extjs_ExtDirectRouter->route# // t3lib_extjs_ExtDirectRouter->processRpc#106 // call_user_func_array#183 // tx_em_Connection_ExtDirectServer->uploadExtToTer# // tx_em_Connection_ExtDirectServer->getSelectedRepository#654 // tx_em_Database::getRepositories#1578

History

Updated by Steffen Gebert about 1 year ago

  • Category set to Extension Manager
  • Status changed from New to Needs Feedback

Franz, could you please

  • try to debug tx_em_connection_extdirectserver::uploadExtToTer() and see what the call to $terConnection->uploadToTER() does
  • try again and tell me your IP and the time of the day, when you tried it. I will then lookup on typo3.org, whether a server error occurred there

Thank
Steffen

Updated by Franz Holzinger about 1 year ago

Hello Steffen, I have put this debug info into the php file 'typo3/sysext/em/classes/connection/class.tx_em_connection_ter.php':

--------
debug ($accountData, 'uploadToTER $accountData');

$response = $soap->call(
'uploadExtension',
array(
'accountData' => $accountData,
'extensionData' => $extensionData,
'filesData' => $filesData
)
);
debug ($response, 'uploadToTER Pos 1 $response');
if ($response === FALSE) {
debug ($response, 'uploadToTER $response === FALSE');
switch (TRUE) {
case is_string($soap->error):
debug ($soap->error, 'uploadToTER $soap->error');
return $soap->error;
break;
default:
debug ($soap->error->faultstring, 'uploadToTER $soap->error->faultstring');
return $soap->error->faultstring;
}
}
debug ($response, 'uploadToTER ENDE $response');
return $response;
---------

Then the result is:

------------------
debug $variable = Array
(
[username] => franzholz
[password] => *****
)

debug $name = uploadToTER $accountData
debug $variable =
debug $name = uploadToTER Pos 1 $response
debug $variable =
debug $name = uploadToTER ENDE $response
debug $variable =
debug $name = uploadExtToTer $response

So the $response is not FALSE, but it is empty.
The client IP is 87.78.237.28.

typo3/sysext/em/classes/connection/class.tx_em_connection_soap.php:
debug $variable = http://typo3.org/wsdl/tx_ter_wsdl.php
debug $name = tx_em_Connection_Soap::init $options['wsdl']

Updated by Sven Wappler 12 months ago

Only one addition: In my case this error is thrown when trying to upload a extension, which are larger than 1 MB with a slow DSL connection. May be it is related with a timeout.

Also available in: Atom PDF