#86588RouteEnhancer on rootPage raise a PageNotFoundException exception
Description
I added a routeEnhancer with a PersistedAliasMapper aspect for a plugin.
routeEnhancers:
Foowebsite:
type: Extbase
limitToPages: [6]
extension: Foowebsite
plugin: Pi1
routes:
- routePath: '/{country_slug}'
_controller: 'Country::show'
_arguments: {'country_slug': 'country'}
defaultController: 'Country::list'
aspects:
country_slug:
type: PersistedAliasMapper
tableName: 'tx_foowebsite_domain_model_country'
routeFieldName: 'slug'
If i use this route on the root Website(is_siteroot=1) i get a PageNotFoundExeption, on a sub page all works fine.
- example.com/aegypten -> PageNotFoundException
- example.com/default-title/aegypten -> works fine
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.