URL alias load is inconsistent if there are more then one alias

Created on 26 June 2024, 5 months ago
Updated 10 July 2024, 5 months ago

Whilst investigating https://www.drupal.org/project/pathinc/issues/3457205 🐛 PHP warnings on path_delete() Fixed I did an audit of DrupalPathinc.class.inc, comparing to Drupal core /includes/path.inc.

I observed that path_load() is missing:

    ->fields('url_alias')
    ->orderBy('pid', 'DESC')

This came from https://www.drupal.org/project/drupal/issues/1160764

We should bring in the necessary changes, to keep things consistent avoid this bug.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom colinstillwell

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024