Issue Bug Closed

#107292Conflict between last element of Filelist and Pagetree

Ulrich Mathes 08/15/25, 10:05 updated 12/02/25, 13:58

Description

Steps to reproduce the problem:
  1. Open a page in the page module (note the page uid)
  2. Switch to the Filelist module
  3. Open the file info of a file (with a different sys_file id as the noted page uid)
  4. Switch to the page module

*Actual results:*
The page module opens a different page than step 1, or the user receives a 503 error.

*Expected results:*
The page module opens the same page that was previously opened

*Additional notes:*
Both the pagetree t3-module-state-web and the filelist t3-module-state-media store the identifier of the last viewed element in the session storage. The filelist accidentally overwrites the identifier (uid) of the last viewed page with the identifier (uid) of a file whose information popup has been opened.

// Before:
t3-module-state-web = {"identifier":"1","treeIdentifier":"0_1"}

// After:
t3-module-state-web = {"identifier":"3","treeIdentifier":null}
t3-module-state-media = {"identifier":"1:/styleguide/","treeIdentifier":"1:/_1:/styleguide/"}

// Expected:
t3-module-state-web = {"identifier":"1","treeIdentifier":"0_1"}
@t3-module-state-media = {"identifier":"3:/styleguide/","treeIdentifier":"1:/_1:/styleguide/"}@

The bug occurred with TYPO3 v13.

Reviews 2

History 79

  1. Garvin Hicking commented and changed status Closed Accepted Is Regression 1 <span data-processor="relativetime" data-value="2025-08-17T20:08:28+00:00" > 08/17/25, 20:08 </span>

    I was able to reproduce this and also get this occasionally. Thanks for taking the time to dig deeper.

    I believe this happened with https://github.com/TYPO3/typo3/commit/ba0e88f91159fcab9bf8694260e4c3b140ff1f85

  2. Gerrit Code Review pushed patch set 1 for main to change 90454 status Accepted Under Review <span data-processor="relativetime" data-value="2025-08-19T10:10:12+00:00" > 08/19/25, 10:10 </span>

  3. Oliver Bartsch commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-08-19T19:05:08+00:00" > 08/19/25, 19:05 </span>

    Applied in changeset commit:178a4e0f418cf4ebd76c3f0bebdf470577d29c06.