XB pages doesn't respect Pathauto widget

Created on 17 May 2025, 17 days ago

Overview

We currently lack a Pathauto alias for pages in standard, as it is only available for nodes.

The \Drupal\pathauto\PathautoWidget introduces a pathauto checkbox. However, the XB form does not display this option or permit it to be unchecked. Consequently, Pathauto assumes it should always generate an alias. Unfortunately, without a defined path pattern, no alias is created.

Proposed resolution

TBD

🐛 Bug report
Status

Active

Version

0.0

Component

Page builder

Created by

🇮🇳India deepakkm

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

Comments & Activities

  • Issue created by @deepakkm
  • 🇫🇮Finland lauriii Finland

    Adding a related issue here

  • 🇫🇮Finland lauriii Finland
  • 🇺🇸United States bnjmnm Ann Arbor, MI

    It's possible I duplicated this issue with 🐛 Autosave publish process does not acknowledge pathauto deactivation Postponed , but not fully sure as the IS here specifies the issue is due to pathauto creating an alias when a pattern isn't defined for the entity type, while #3526130 is specifically about the publish process not acknowledging the "Generate automatic URL alias" being unchecked.

    If they are in fact the same issue reported differently please note the issue summary in #3526130 already provides a 3 line solution that works, but notes there's probably a cleaner way to implement it (perhaps in a hook that specifies module: 'pathauto'

Production build 0.71.5 2024