Front page doesn't work

Created on 20 March 2024, 8 months ago
Updated 2 May 2024, 6 months ago

Problem/Motivation

The front page of a site isn't an alias, it's just an empty path. That means that we don't get any parameters for the route and we can't load an entity.

We need to:

1. check if the path is empty (once 🐛 language prefix prevents aliases from being resolved Active is fixed, so a langcode is removed already)
2. if it is, check for the front page path config setting
3. If there is one, replace the empty path with the config setting path

Does this needs to be done before the alias is resolved? I can't remember if front page is stored as an alias or whether the alias gets resolved by the form when it's saved.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024