[random test failure] EditorSecurityTest::testEditorXssFilterOverride

Created on 30 December 2024, 22 days ago

Problem/Motivation

    Download (Drupal\Tests\file\Functional\Download)
     βœ” Public file transfer
     ✘ Private file transfer without page cache
       ┐
       β”œ Correctly denied access to a file when file_test sets the header to -1.
       β”œ Failed asserting that 200 is identical to 403.                         
       β”‚
       β”‚ /builds/issue/drupal-3069442/core/modules/file/tests/src/Functional/DownloadTest.php:138
       β”‚ /builds/issue/drupal-3069442/core/modules/file/tests/src/Functional/DownloadTest.php:76
       β”΄
     βœ” File create url
    
    FAILURES!
    Tests: 3, Assertions: 46, Failures: 1.

Steps to reproduce

Example: https://git.drupalcode.org/issue/drupal-3069442/-/jobs/3468073#L526

Proposed resolution

eplace calls to State with calls to KeyValue.

The root cause of this issue is discussed in πŸ› Race conditions/bad lock logic in CacheCollector/State Active

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

phpunit

Created by

πŸ‡³πŸ‡±Netherlands spokje

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024