Skip to content
Snippets Groups Projects
Commit fc4fbc4a authored by Christian Kuhn's avatar Christian Kuhn Committed by Susanne Moog
Browse files

[BUGFIX] Hint for 'Check for broken extensions' if install tool crashes

If the install tool crashes in cards that load ext_* files from extensions,
it currently clears html body and only renders a message "Something went wrong".

This will later become a recovery view which can analyze where and how the
error happened to show the user good option on how to resurrect the instance.

For now, the message is extended a bit linking to the "Upgrade" menu saying
one should use the "Check for broken extensions". This way - until a bigger
solution evolved - we at least have a link to click on, and the user does not
need to fiddle with the url bar of the browser. This is especially useful
in install tool standalone mode where the whole content including the left
main menu is currently substituted by the error message.

Change-Id: I8e1c450949d9f00f8c2e0e1e95a847979973c124
Resolves: #82922
Releases: master
Reviewed-on: https://review.typo3.org/54559


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarSusanne Moog <susanne.moog@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarSusanne Moog <susanne.moog@typo3.org>
parent 8da63a45
Branches
Tags
No related merge requests found
......@@ -125,8 +125,12 @@ define([
}
} else {
// @todo Recovery tests should be started here
message = InfoBox.render(Severity.error, 'Something went wrong', '');
$(this.selectorBody).empty().append(message);
var url = this.getUrl(undefined, 'upgrade');
message = '<div class="t3js-infobox callout callout-sm callout-danger"><div class="callout-body">'
+ 'Something went wrong. Please use <b><a href="' + url + '">Check for broken'
+ ' extensions</a></b> to see if a loaded extension breaks this part of the install tool'
+ ' and unload it.</div></div>';
$(this.selectorBody).empty().html(message);
}
},
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment