Could not install Redirect together with Pathauto if I add them as additional projects

Created on 13 March 2025, 21 days ago

Problem / Motivation

I am trying to create a simplytest.me website using both the Redirect and Pathauto modules. Simplytest.me is demanding a version of Redirect which does not apparently exist yet or a patch I did not request.

Steps (workflow 1 - first added project has a version number which is less than the second added project):
1. Go to SimplyTest website
2. In the Evaluate Drupal projects field, type core
3. In the auto-suggest, choose Drupal core
4. Click Advanced options
5. Click Add additional project
6. In the Project name field, type redirect
7. In the auto-suggest, choose Redirect
8. Click Add additional project
9. In the Project name field, type pathauto
10. In the auto-suggest, choose Pathauto
11. Do not add any patches on anything; do not click in the patch fields

12. Click Build

Expected result: I get a test website with the pathauto and redirect modules included.

Actual result: Build gets an error:

This may be the error:

In PatchAddCommand.php line 75:

Your patch url argument must be a valid URL or local path.

patch-add [--no-update] [--no-dev] [--] <package> <description>

Steps (workflow 2 - first added project has a version number which is greater than the second added project):
1. Go to SimplyTest website
2. In the Evaluate Drupal projects field, type core
3. In the auto-suggest, choose Drupal core
4. Click Advanced options
5. Click Add additional project
6. In the Project name field, type pathauto
7. In the auto-suggest, choose Pathauto
8. Click Add additional project
9. In the Project name field, type redirect
10. In the auto-suggest, choose Redirect
11. Do not add any patches on anything; do not click in the patch fields

12. Click Build

Expected result: I get a test website with the pathauto and redirect modules included.

Actual result: Build gets an error:

This may be the error:

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Command Failed (Tugboat Error 1064): Exit code: 2; Command: cd stm && composer require drupal/redirect:1.13 --no-install

On the date of this error, the latest version of Redirect is 1.11 and the latest version of Pathauto is 1.13.

However, the following sequences work:

Steps (workflow 3):
1. Go to SimplyTest website
2. In the Evaluate Drupal projects field, type redirect
3. In the auto-suggest, choose Redirect
4. Click Advanced options
5. Click Add additional project
6. In the Project name field, type pathauto
7. In the auto-suggest, choose Pathauto
8. Click Build

Expected and actual results: I get a test website with the pathauto and redirect modules included.

Steps (workflow 4):
1. Go to SimplyTest website
2. In the Evaluate Drupal projects field, type pathauto
3. In the auto-suggest, choose Pathauto
4. Click Advanced options
5. Click Add additional project
6. In the Project name field, type redirect
7. In the auto-suggest, choose Redirect
8. Click Build

Expected and actual results: I get a test website with the pathauto and redirect modules included.

πŸ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States charles belov San Francisco, CA, US

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

Comments & Activities

Production build 0.71.5 2024