Make linkchecker service compatible with Guzzle7

Created on 25 October 2023, 8 months 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.69.0 2024