Pattern matching not working with subpathauto

Created on 5 February 2025, about 1 month ago

Problem/Motivation

If you use subpathauto and configure r4032login to redirect on paths like /node/*/* it does not redirect for the node edit route.

Steps to reproduce

TBA

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇦🇺Australia mstrelan

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

Merge Requests

Comments & Activities

  • Issue created by @mstrelan
  • 🇦🇺Australia mstrelan

    Didn't mean to change the status. It's probably not as simple as the proposed resolution. We need to do something like this:

    $currentPath = \Drupal::service('path_processor_subpathauto')->processInbound($currentPath, $request);

    But obviously that doesn't make sense to do here, so I'm wondering if there is a generic way to handle this?

  • Merge request !23Path processor → (Open) created by mstrelan
  • 🇦🇺Australia mstrelan

    Ah, we can just use the path_processor_manager service that will run for all path processors. Have put up an MR. Obviously needs test coverage. May need to consider BC concerns. May need config to opt in or out.

Production build 0.71.5 2024