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

Created on 26 June 2024, 7 days 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.69.0 2024