Bug #86153
closedFileList fails with SiteNotFoundException
100%
Description
In TYPO3 9.4 opening the FileList module fails with a SiteNotFound exception.
SiteResolver expects the parameter 'id' to be a pageID that can be resolved to a site configuration.
The FileList module uses the same parameter for a directory.
The parameter is cast to int resulting in TYPO3 trying to resolve a directory identifier as a page id.
Files
Updated by Susanne Moog about 6 years ago
- Category set to Site Handling, Site Sets & Routing
Updated by Susanne Moog about 6 years ago
- Target version changed from 9.4 to 9 LTS
Updated by Anja Leichsenring about 6 years ago
- Status changed from New to Needs Feedback
can not reproduce. Can you elaborate on your setup?
e.g. site configuration yes / no?
Updated by Andreas Kienast about 6 years ago
I also fail to reproduce the issue. I have a mixed state of regular sites and pseudo sites.
Updated by Alexander Jahn about 6 years ago
I'm having this problem in a very simple setup.
One rootpage with 5 subpages and a single site configuration.
There are two file storages, (1) is the default fileadmin one, (3) the custom storage throwing the error.
When browsing the filelist for Storage (1) the id parameter '1:/SomeFolder/' is cast to int 1 and can resolve a siteconfiguration for pageID 1.
When browsing the filelist for Storage (3) the id parameter '3:/SomeOtherFolder/' is cast to int 3 and causes an exception because there is no page with uid 3 in my setup.
Updated by Helmut Hummel about 6 years ago
- Status changed from Needs Feedback to Accepted
I can confirm the issue. Once the file list is called with an id get parameter, which does not match a valid page the exception is thrown
To reproduce:
- add a new file storage record
- delete the page that has the id of the storage record
- go to file list and try to access the storage
Updated by Anja Leichsenring about 6 years ago
- Status changed from Accepted to In Progress
- Assignee set to Anja Leichsenring
Updated by Gerrit Code Review about 6 years ago
- Status changed from In Progress to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58337
Updated by Gerrit Code Review about 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58337
Updated by Gerrit Code Review about 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58337
Updated by Gerrit Code Review about 6 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58337
Updated by Gerrit Code Review about 6 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58337
Updated by Gerrit Code Review about 6 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58337
Updated by Anja Leichsenring about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1da2c402e7db9b83a23fa54310ba4f1cedd8f3c5.
Updated by Christian Kuhn about 2 years ago
- Related to Task #99121: Have site request attribute in filelist module added