Make linkchecker service compatible with Guzzle7

Created on 25 October 2023, about 1 year ago

Problem/Motivation

When using the linkchecker service to check a link with a connectivity problem the request will error out:

TypeError: Drupal\linkchecker\LinkCheckerService::Drupal\linkchecker\{closure}(): Argument #1 ($e) must be of type GuzzleHttp\Exception\RequestException, GuzzleHttp\Exception\ConnectException given

This is a known issue due to changes in Guzzle7, well explained in #3188920: Make Guzzle exception handling forward-compatible with Guzzle 7 .

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇨🇦Canada joel_osc

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

Comments & Activities

Production build 0.71.5 2024