#107292Conflict between last element of Filelist and Pagetree
Description
Steps to reproduce the problem:
- Open a page in the page module (note the page uid)
- Switch to the Filelist module
- Open the file info of a file (with a different sys_file id as the noted page uid)
- 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.