Project

General

Profile

Actions

Bug #102512

closed

SyntaxError: Unexpected end of JSON input on installing extensions via ExtensionManager

Added by Oliver Bartsch 12 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Category:
Backend JavaScript
Target version:
-
Start date:
2023-11-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF