Bug #56823
closedExtensionmanager does not show error messages on update failure
100%
Description
When updating extensions through the new extension manager (which is, in general, very slow), I get a page with an opaque overlay.
Trigger the bug:
Try to update an extension that does not fulfill a dependency, e.g. that depends on a lower TYPO3 CMS version.
The EM will return an exception, but this exception is now caught and does not show up in the EM.
Therefore the spinning icon keeps running.
Steps to reproduce: 1. Go to extension manager, 'Manage Extensions' page. 2. Click the update icon next to an extension (e.g. direct_mail, tt_news, div2007, ...). 3. Click 'Yes' on the confirmation prompt. 4. Now you may wait forever: nothing happens. No error, nothing. When refreshing the ext. manager, the extension was not updated.
Files
Updated by Gautam K. over 10 years ago
This does, however, not occur with all extensions. For example, realurl, tt_address, nagios, powermail, etc. can be updated without this occurring.
Updated by Markus Klein over 10 years ago
Can you check if one of the AJAX requests returns an error?
Updated by Gautam K. over 10 years ago
- File TYPO3_Exception.html TYPO3_Exception.html added
I looked into it. Apparently, the ajax request to /typo3/mod.php?M=tools_ExtensionmanagerExtensionmanager&tx_extensionmanager_tools_extensionmanagerextensionmanager[extension]=div2007&tx_extensionmanager_tools_extensionmanagerextensionmanager[format]=json&tx_extensionmanager_tools_extensionmanagerextensionmanager[action]=updateExtension&tx_extensionmanager_tools_extensionmanagerextensionmanager[controller]=Download throws a 500 Internal Server Error and returns an exception about my PHP version being too high (I'm using PHP 5.5.3).
PHP 5.5.x is supported by TYPO3 6.1.x, as I read from the downloads page.
Uncaught TYPO3 Exception Your PHP version is higher than allowed. You can use PHP versions 5.2.0 - 5.4.99 TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException thrown in file /path/to/typo3/sysext/extensionmanager/Classes/Utility/DependencyUtility.php in line 222.
Updated by Markus Klein over 10 years ago
- Status changed from New to Needs Feedback
Ok I guess it shouldn't be a 500 error.
This failure is caused by some extension. check the extensions and their requirements in the ext_emconf.php file.
Updated by Gautam K. over 10 years ago
As a test, I've updated div2007 from 0.11.0 to 1.1.4. The former has a PHP dependency 5.2.0-5.3.99. The latter to 5.4.99 (matches the error). I can, however, update extensions by uploading a t3x file, without any errors occurring (no dependency warnings either).
Shouldn't I get a message stating that my environment doesn't match the dependencies (with an ignore button), in stead of an exception?
Updated by Markus Klein over 10 years ago
- Status changed from Needs Feedback to Accepted
Updated by Philipp Gampe over 10 years ago
- Subject changed from Extensionmanager randomly hangs when updating extension to Extensionmanager does not show error messages on update failure
Updated by Gerrit Code Review over 10 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28738
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28738
Updated by Gerrit Code Review over 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28738
Updated by Gerrit Code Review over 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28738
Updated by Gerrit Code Review over 10 years ago
Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/29735
Updated by Philipp Gampe over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c9688068885977ec2021125bab9fff38892478e8.