Overview

When setting a custom URL alias for a page, the alias is not saved. It appears to be ignored completely, reverting to the default URL structure (i.e. /page/{id}).

Steps to reproduce:

  1. Open the page editor for an existing page or create a new page.
  2. Enter a custom URL alias.
  3. Publish the page.
  4. Reopen the page editor and see URL alias is gone. Navigate to the alias and confirm the alias isn't working.

Proposed resolution

User interface changes

Comments

lauriii created an issue. See original summary.

wim leers’s picture

Assigned: Unassigned » lauriii
Status: Active » Postponed (maintainer needs more info)
Issue tags: +Needs title update, +Needs issue summary update
StatusFileSize
new729.49 KB
new761.46 KB

❌ I cannot reproduce the original steps to reproduce: creating a new Page entity with an URL alias works fine:


… but I did manage to reproduce something kinda similar when I dug deeper? 😅

This is a pure front-end bug, because the same exact server-side response was provided in both of the requests I demonstrate in this GIF:

Also note that it's not only the path alias, it's every field's value!

P.S.: there's no auto-save entry for this content entity: neither before nor after performing the above test.

mayur-sose’s picture

I could not reproduce the reported issue. The URL alias is being saved without any issues. Upon reopening the page editor, the alias remained intact, and navigation to the alias worked correctly.

mayur-sose’s picture

Assigned: lauriii » Unassigned
Status: Postponed (maintainer needs more info) » Fixed
wim leers’s picture

Status: Fixed » Closed (cannot reproduce)

Thanks for confirming, @mayur-sose! 😊🙏

P.S.: When a bug report did not need fixes, we should not mark it Fixed. 🤓