Bug #103884
closedTable collapsed/expanded state not persistent
0%
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
Updated by Mathias Brodala 3 months 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.