#102512SyntaxError: Unexpected end of JSON input on installing extensions via ExtensionManager
Description
In case installing a extension, which contains code to stop the PHP request,
e.g. a die(); statement, the following JavaScript error occurs:
Uncaught (in promise) SyntaxError: Unexpected end of JSON input at repository.js
Using such statement is common as extensions previously contained checks like
defined('TYPO3_MODE') or die();
Because this variable does no longer exist, the request is stopped.
Reviews 2
History 27
-
Gerrit Code Review pushed patch set 1 for main to change 81956 status
NewUnder Review 11/24/23, 16:49 -
Gerrit Code Review pushed patch set 2 for main to change 81956 11/24/23, 17:47
-
Gerrit Code Review pushed patch set 3 for main to change 81956 11/24/23, 17:52
-
Gerrit Code Review pushed patch set 4 for main to change 81956 11/26/23, 17:50
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 81966 11/26/23, 18:16
-
Oliver Bartsch commented and changed status
Under ReviewResolved done0 %100 % 11/26/23, 19:55 -
Benni Mack changed status
ResolvedClosed 07/09/24, 15:12
Applied in changeset commit:620b199bbedb52d87207ff9fb4d5b7474bc1418e.