Actions
Bug #91711
openPageType decorated URLs do not get type parameter added when default is not empty
Status:
New
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2020-06-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
The solution for #87817 works only for empty defaults, not for non-empty defaults. The default must be allowed to be non-empty and still allow the type parameter for different typeNum.
PageTypeSuffix:
type: PageType
default: '.html'
index: 'index'
map: []
Currently links to type > 0 will just create urls like /my/path/to/site.html
- but of course they still need to append the type parameter ?type=123
to work correctly.
This is because resolveValue() returns the default and afterwards it is checked if the returned value is empty (which it never is if a default is set).
Updated by S P about 4 years ago
- Subject changed from PageType decorated URLs do not add type paramater added when default is not empty to PageType decorated URLs do not get type parameter added when default is not empty
Updated by Benni Mack about 1 year ago
- Sprint Focus deleted (
On Location Sprint)
Actions