#87104 PageTypeSuffix removes type parameter for non mapped type values
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
Related issues 7
- Bug #86835Static route sitemap.xml is still not working on single-page tree
- Bug #87016Seo sitemap does not note routeEnhancer on extensions
- Bug #87817PageLinkBuilder fails adding pagetype parameter, if routeEnhancers for PageTypeSuffix is defined
- Bug #88836page type not respected under some circumstances
- Bug #89346sitemap.xml does not work correctly
- Bug #94244PageTypeSuffix Enhancer buggy
- Bug #99217Pagetypes not working with trailing Slashes if default PageTypeSuffix is set