[TASK] Do not crash install tool if a modal fails 50/58350/4
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 20 Sep 2018 13:09:16 +0000 (15:09 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 20 Sep 2018 15:56:37 +0000 (17:56 +0200)
commit96204622bc0c27ebcec9e260b92b3db8dcce4d6b
treee8cc5dde6e2fbd7a95f8a35960a84515bb4b5e62
parentb9460a30cb6d399d7f45684dcd058f1ee5135e5c
[TASK] Do not crash install tool if a modal fails

* Direct action buttons (eg. clear cache) catch ajax errors
  and turn them into a notification, so the main frame of
  the install tool does not die.
* Server side errors triggered by ajax calls from within
  modals no longer kill the main install tool frame, but
  render the error message into the modal.
* Improved error display with more info on how to recover
  and a (collapsed) output of the generic server side
  error message or backtrace depending on error settings.

Resolves: #86330
Releases: master
Change-Id: I9fa7602d0ea26d979f832022e03b78975b9877af
Reviewed-on: https://review.typo3.org/58350
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
28 files changed:
typo3/sysext/install/Resources/Public/JavaScript/Modules/Cache.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/ChangeInstallToolPassword.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/ClearTables.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/ClearTypo3tempFiles.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/CoreUpdate.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/CreateAdmin.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/DatabaseAnalyzer.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/DumpAutoload.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/EnvironmentCheck.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/ExtensionCompatTester.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/ExtensionConfiguration.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/ExtensionScanner.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/Features.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/FolderStructure.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/ImageProcessing.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/LanguagePacks.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/LocalConfiguration.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/MailTest.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/PhpInfo.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/Presets.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/ResetBackendUserUc.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/Router.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/SystemInformation.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/SystemMaintainer.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/TcaExtTablesCheck.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/TcaMigrationsCheck.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/UpgradeDocs.js
typo3/sysext/install/Resources/Public/JavaScript/Modules/UpgradeWizards.js