Project

General

Profile

Actions

Bug #103884

closed

Table collapsed/expanded state not persistent

Added by Mathias Brodala about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2024-05-23
Due date:
% Done:

0%

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

Description

When collapsing or expanding tables in the List module, this state is not persistent. Opening another page or reloading shows all tables expanded again.

This did work with TYPO3v11 and starts failing in TYPO3v12 with an JavaScript error:

The error is thrown by the persistent.js JavaScript module:

[Violation] Permissions policy violation: Synchronous requests are disabled by permissions policy.


Files

image.png (33.4 KB) image.png Mathias Brodala, 2024-05-23 10:51
Actions #1

Updated by Mathias Brodala about 1 month ago

  • Status changed from New to Closed

This is caused by the permissions policy set by a Feature-Policy HTTP header:

Feature-Policy: ...; sync-xhr 'none'; ...

The sync-xhr 'none' denies all synchronous XHR requests which affect TYPO3 in this case.

The Feature-Policy header has evidently been renamed to Permissions-Policy and the whole topic changed quite a bit. Thus a review and migration is necessary anyways.

For now removing the sync-xhr directive solves the issue.

Actions

Also available in: Atom PDF