Problem/Motivation

In #3614825: Allow additional modules to be installed alongside the profile modules we discovered that if path_alias module is installed alongside lazy_route_provider_install_test which generates a URL (and therefore calls path alias module's methods), then path_alias tries to look up a route before its entity schema has been installed - because that happens at the end of module installation.

The workaround added in that issue was to add a try/catch around the alias lookup, which is the pattern we use in cache backends and similar too, but there might be another way to deal with it.

Note there might be some crossover here with #3096092: Make "path_alias" module optional.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Comments

catch created an issue.