Bug #37905
closedUploading T3X fails with ExtDirect exception
0%
Description
This happens both on today's trunk and 4-7 branch.
Steps to reproduce:
1. Download sr_feuser_register 2.6.2 from http://typo3.org/extensions/repository/download/sr_feuser_register/2.6.2/t3x/ .
2. In your local TYPO3 installation, go to the EM and click on the "Upload extension file directly" icon in the top-left corner.
3. Select the downloaded T3X. Check "overwrite any existing extension".
4. Click on the Upload button.
Expected result:
Progress bar. Then, after a few seconds, an "okay" flash message.
Actual results:
Progress bar. After about one second, an ExtDirect exception:
atal error: Call to a member function section() on a non-object in /home/klee/eclipse/typo3_src/typo3/sysext/em/classes/extensions/class.tx_em_extensions_list.php on line 922 Call Stack: 0.0009 667392 1. {main}() /home/klee/eclipse/typo3_src/typo3/ajax.php:0 0.0684 12065824 2. t3lib_div::callUserFunction() /home/klee/eclipse/typo3_src/typo3/ajax.php:76 0.0690 12132832 3. call_user_func_array() /home/klee/eclipse/typo3_src/t3lib/class.t3lib_div.php:4331 0.0690 12132976 4. t3lib_extjs_ExtDirectRouter->route() /home/klee/eclipse/typo3_src/t3lib/class.t3lib_div.php:0 0.0705 12277872 5. t3lib_extjs_ExtDirectRouter->processRpc() /home/klee/eclipse/typo3_src/t3lib/extjs/class.t3lib_extjs_extdirectrouter.php:107 0.0808 14467872 6. call_user_func_array() /home/klee/eclipse/typo3_src/t3lib/extjs/class.t3lib_extjs_extdirectrouter.php:176 0.0808 14467928 7. tx_em_Connection_ExtDirectServer->uploadExtension() /home/klee/eclipse/typo3_src/t3lib/extjs/class.t3lib_extjs_extdirectrouter.php:0 0.2211 23641360 8. tx_em_Install->installExtension() /home/klee/eclipse/typo3_src/typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php:1428 0.3109 26685240 9. tx_em_Install->checkDependencies() /home/klee/eclipse/typo3_src/typo3/sysext/em/classes/install/class.tx_em_install.php:170 0.3109 26687936 10. tx_em_Connection_ExtDirectServer->disableExtension() /home/klee/eclipse/typo3_src/typo3/sysext/em/classes/install/class.tx_em_install.php:554 0.4721 29630384 11. tx_em_Extensions_List->removeExtFromList() /home/klee/eclipse/typo3_src/typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php:1468