◐ Shell
clean mode source ↗

Paths generated for child outlets relative to empty path named outlet parent are incorrect

Bug Report

Affected Package

Angular 11 and lower

Is this a regression?

Yes

Description

I have 2 outlets. Primary - for child pages. Main-page - using only to display main page template. It can not to work if outlet is root of router tree.

Minimal Reproduction

https://stackblitz.com/edit/outlet-example-veyabe
After clicking on the "Link to innerRoute" there is should to show another page. But it's not.

Exception or Error


Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'innerRoute'
Error: Cannot match any routes. URL Segment: 'innerRoute'

Your Environment

Angular Version:

Anything else relevant?
Are there related issues? Sorry if there are exist any.