Bug #101394
closedUndefined array key "pageuid" in /typo3/sysext/frontend/Classes/Middleware/StaticRouteResolver.php line 159
100%
Updated by Stefan Bürk over 1 year ago
Can you please provide your static route configuration ?
Granted, we should guard this - butlooking into the code that means that a valid pageuid is missing.
We can add such a guard and throw a InvalidArgumentException, would not help much - beside having a
more naming error eventually.
I would be interessted into which constellation causes this, so maybe we can do a check early in the
stack to avoid things or deal with a configuration issue more correctly.
Updated by Stefan Bürk over 1 year ago
- Status changed from New to Needs Feedback
- Assignee set to Stefan Bürk
Updated by Fronzes Philippe over 1 year ago
This is these lines in my config.yaml file.
routes:
-
route: rss.xml
type: uri
source: 't3://page?type=9818'
-
route: sitemap.xml
type: uri
source: 't3://page?type=1533906435'
Actually, I have added a uid=1 parameter in the source (source: 't3://page?uid=1&type=9818'), and the error is gone, but I think the syntax without the uid is correct ?
Updated by Gerrit Code Review over 1 year ago
- Status changed from Needs Feedback to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80188
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80149
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80150
Updated by Stefan Bürk over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset dc0b6070f188c9dc8946f8f768382d0ee4b69ade.