Unable to apply this patch to Drupal 9/PHP 8/module-dev-version

Created on 3 June 2022, over 2 years ago
Updated 16 September 2024, 2 months ago

Problem/Motivation

I cant install 3111456-34.patch: https://www.drupal.org/pift-ci-job/2052225 on my installation Drupal 9/PHP 8 using the dev version of your module.

I notice from https://www.drupal.org/pift-ci-job/2052225 that its PHP 7 compatible. Are there any plans to retest on a Drupal 9/PHP 8 setup?

Steps to reproduce

install latest or dev versions of module.

add to composer.json

"extra": {
"drupal/decoupled_router": {
"Unable to resolve path on node in other language than default": " https://www.drupal.org/files/issues/2021-05-05/3111456-34.patch "
}
},

run compose install or composer require cweagans/composer-patches

Note output:

composer require cweagans/composer-patches)

Gathering patches for root package.
Removing package drupal/decoupled_router so that it can be re-installed and re-patched.
  - Removing drupal/decoupled_router (2.0.3)
Deleting web/modules/contrib/decoupled_router - deleted
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 2 installs, 0 updates, 0 removals
Gathering patches for root package.
Gathering patches for dependencies. This might take a minute.
  - Installing drupal/decoupled_router (2.0.3): Extracting archive
  - Applying patches for drupal/decoupled_router
    https://www.drupal.org/files/issues/2021-05-05/3111456-34.patch (Unable to resolve path on node in other language than default)
   Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2021-05-05/3111456-34.patch

Proposed resolution

reissue patch compatible with Drupal 9 and PHP 8 to work with stable and dev versions of the module, or integrate changes into released module.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom Syntapse

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