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