Project

General

Profile

Actions

Bug #100219

open

Get "Navigation loading error. Got unexpected response from the server. Please check logs for details." when fetch request is canceled. - Part 2

Added by André Buchmann about 1 year ago. Updated 3 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
Start date:
2023-03-20
Due date:
% Done:

0%

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

Description

"Reopen" of https://forge.typo3.org/issues/97003

TYPO3 shows an error message about unexpected response from server in case browser cancel fetch request in the Backend.


A coworker notified me about this issue in a project when using the fileadmin with many images. The customer is very annoyed by those flash messages when they edit their content.

By the way: the same error Message is triggered for the page tree and the file tree as they both use the SvgTree class.

The problem is, that the editors select the image in the modal faster than the tree is built. When the image is selected the request is canceled, and the JS triggers the flash message. Error still exists in TYPO3 11.5.26-dev and 12.3.0-dev.

This can be easily tested with a plain TYPO3 11/12 and one image by slowing down the response of the controller with sleep(10) here: https://github.com/TYPO3/typo3/blob/11.5/typo3/sysext/backend/Classes/Controller/FileStorage/TreeController.php#L57


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #97003: Get "Navigation loading error. Got unexpected response from the server. Please check logs for details." when fetch request is canceled.Closed2022-02-23

Actions
Actions

Also available in: Atom PDF