#91771f:widget.uri does not respect current page type (typeNum) on PageType enhanced URLs
Description
When using f:widget.paginate on a typeNum > 0 the page links are generated for type = 0 instead if the type is hidden behind a PageType decorated URL.
This is the code for building the link. It’s missing the setTargetPageType() call
return $uriBuilder->reset()
->setArguments([$argumentPrefix => $parameters])
->setSection($arguments['section'])
->setUseCacheHash($arguments['useCacheHash'])
->setAddQueryString(true)
->setAddQueryStringMethod($arguments['addQueryStringMethod'])
->setArgumentsToBeExcludedFromQueryString([$argumentPrefix, 'cHash'])
->setFormat($arguments['format'])
->build();
It works when NOT mapping the type via routing (then it is just a query string and is re-added), but when it is mapped to something fancy via route enhancer it is no query parameter anymore and thus will get ignored.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.