Issue Bug Closed

#86939PageRouter: rootPage missing as candidate from routePath

Achim Fritz 11/15/18, 19:38 updated 05/07/19, 12:15

Description

Steps to reproduce:
add a routeEnhancer which routes ?page=<x> to /page-<x></x></x>

routeEnhancers:
  PageBrowser:
    type: Simple
    routePath: '/page-{page}'
    requirements:
      page: '[0-9]{1,3}'
    _arguments:
      page: 'page'

create link to <currentpageid>?page=3</currentpageid>

Results in:
clicking <currentpagepath>/page-<x> in FE works not on rootPage, but well on others</x></currentpagepath>

Reviews 1