Project

General

Profile

Actions

Bug #87104

closed

PageTypeSuffix removes type parameter for non mapped type values

Added by Steffen Mächtel almost 6 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2018-12-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Tested with 9.5.1 and 9.5.2-dev

When i use the PageTypeSuffix, all non mapped type values are removed from url. In this example "type=5" is not configurated in the sites/config.yaml.
Non mapped types should be append as query string?

    PageTypeSuffix:
        type: PageType
        default: .html
        index: 'home'
        map:
            .html: 0
            .json: 3

With PageTypeSuffix:

when i try to generate a link for type = 5, the type parameter is not available in the url. (its removed)

Without PageTypeSuffix:

when i remove the PageTypeSuffix configuration complete, the generated urls are valid.


Files

page_type_suffix.png (33.4 KB) page_type_suffix.png Steffen Mächtel, 2018-12-07 17:02
without_page_type_suffix.png (24.9 KB) without_page_type_suffix.png Steffen Mächtel, 2018-12-07 17:02
example_code.txt (931 Bytes) example_code.txt Steffen Mächtel, 2018-12-07 17:02

Related issues 6 (3 open3 closed)

Related to TYPO3 Core - Bug #89346: sitemap.xml does not work correctlyNew2019-10-04

Actions
Related to TYPO3 Core - Bug #87016: Seo sitemap does not note routeEnhancer on extensionsClosed2018-11-27

Actions
Related to TYPO3 Core - Bug #86835: Static route sitemap.xml is still not working on single-page treeNew2018-11-02

Actions
Related to TYPO3 Core - Bug #88836: page type not respected under some circumstancesClosed2019-07-24

Actions
Related to TYPO3 Core - Bug #87817: PageLinkBuilder fails adding pagetype parameter, if routeEnhancers for PageTypeSuffix is definedClosed2019-03-01

Actions
Related to TYPO3 Core - Bug #94244: PageTypeSuffix Enhancer buggyNew2021-05-31

Actions
Actions

Also available in: Atom PDF