Issue Bug Closed

#87104 PageTypeSuffix removes type parameter for non mapped type values

Steffen Mächtel 12/07/18, 17:08 updated 07/23/21, 10:36

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)

page_type_suffix.png

Without PageTypeSuffix:

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

without_page_type_suffix.png

Reviews 3