Group add content throw 404 now

Created on 1 December 2021, about 3 years ago
Updated 15 February 2023, almost 2 years ago

Problem/Motivation

With the latest release of subpathauto (1.2), when trying to add a group content, it's throwing a 404.

Steps to reproduce

  • Have group module installed.
  • Add a content in a group (/content/create/group_node:page)
  • You will have a 404 on the create_form

For now we rolledback to the previous version to make it work. This commit is the one that broke group add content routes: https://git.drupalcode.org/project/subpathauto/-/commit/8b3b838b8195ff41...

This has a conflict with this method:

public function encodeParts($path) {
    $path_parts = [];
    foreach (explode('/', $path) as $key => $value) {
      $path_parts[] = urlencode($value);
    }
    return implode('/', $path_parts);
}

Thank you!

🐛 Bug report
Status

Closed: duplicate

Version

1.2

Component

Code

Created by

🇧🇪Belgium Tsu

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024