Bug #102512
closedSyntaxError: Unexpected end of JSON input on installing extensions via ExtensionManager
100%
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.
Updated by Gerrit Code Review 12 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81956
Updated by Gerrit Code Review 12 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81956
Updated by Gerrit Code Review 12 months ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81956
Updated by Gerrit Code Review 12 months ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81956
Updated by Gerrit Code Review 12 months ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81966
Updated by Oliver Bartsch 12 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 620b199bbedb52d87207ff9fb4d5b7474bc1418e.