Issue Bug Closed

#87475Filelist error - RootllineUtility tries to fetch deleted page by sys_file_storage UID

Reinhard Schneidewind 01/18/19, 11:27 updated 02/07/24, 22:00

Description

When accessing the filelist an error is thrown:

#1343589451 TYPO3\CMS\Core\Exception\Page\PageNotFoundException
Could not fetch page data for uid 2.

typo3_src-9.5.3/typo3/sysext/core/Classes/Utility/RootlineUtility.php line 262

As far as I can see the RootlineUtility tries to fetch the page data by the sys_file_storage uid.
In my case the uid is 2. Furthermore a page with uid 2 exists, but is deleted. This causes the error to be thrown.

The problem is caused by the GET parameter id:
example.com/typo3/index.php?route=%2Ffile%2FFilelistList%2F&token=TOKEN&id=2%3A%2Fapplikationen%2F

The RootlineUtility seems to interpret the id always as pid, even it’s the sys_file_storage in that case.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.