Account created on 6 February 2007, almost 18 years ago
#

Recent comments

🇪🇸Spain altrugon

Patch on #2 works, thank you. Please apply it.

🇪🇸Spain altrugon

Hello there:

Apologies in advance if this is already fixed as the comment #7 claims, but I have just checked out branch 6.x-dev at commit b6ba46afa8c93cf814caa0caa5a033a1ff4f2df1 and I don't see the patch applied. That's why I have created a new patch against this commit.

Cheers.

🇪🇸Spain altrugon

I was able to reproduce this bug on D8.4.5, here is how:

  • I had a page with alias /home and Default front page under /admin/config/system/site-information was already pointed to /home
  • I edited this node and change its alias to /home-old, then create a new node (different content type) and use the /home alias for it
  • Clicking on the site logo was in fact redirecting to the new home page, but \Drupal::service('path.matcher')->isFrontPage() was returning false
  • I went back to Default front page and change /home for /node/xxx, after clicking "Save configuration" the value automatically changed to /home again
  • Visiting the home page was still giving the same results (not front page).
  • Went back to Default front page, delete the value (left empty) and saved the form
  • Add /node/xxx again, and again it changed to /home automatically after saved
  • At this point when I visited the home page \Drupal::service('path.matcher')->isFrontPage() was returning true.

I hope this helps to find out what is wrong.

Production build 0.71.5 2024