Project

General

Profile

Actions

Bug #101394

closed

Undefined array key "pageuid" in /typo3/sysext/frontend/Classes/Middleware/StaticRouteResolver.php line 159

Added by Fronzes Philippe over 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2023-07-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Actions #1

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.

Actions #2

Updated by Stefan Bürk over 1 year ago

  • Status changed from New to Needs Feedback
  • Assignee set to Stefan Bürk
Actions #3

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 ?

Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

Updated by Stefan Bürk over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF