Problem/Motivation

When installing a site from existing configuration, \Drupal\opigno_learning_path\Routing\RouteSubscriber::alterRoutes() can be executed before routes are rebuilt, which means that the view.group_members.page_1 route might not exist yet. Routes are rebuilt anyway at the end of the installation.

Proposed resolution

Only alter view.group_members.page_1 if it exists.

Remaining tasks

Review.

User interface changes

API changes

Data model changes

Release notes snippet

CommentFileSizeAuthor
#3 3128245.patch809 bytesamateescu
#2 3128240.patch677 bytesamateescu

Comments

amateescu created an issue. See original summary.

amateescu’s picture

Status: Active » Needs review
StatusFileSize
new677 bytes

Here's a patch for this.

amateescu’s picture

StatusFileSize
new809 bytes

Oops, the patch from #1 was for a different contrib, this one should be better :)

catch’s picture

Looks like this might have been applied without this issue being updated?

axelm’s picture

Status: Needs review » Fixed

Hi @catch
You're right.
We can close this issue

axelm’s picture

Status: Fixed » Closed (fixed)