Drupal.org documentation links broken in ScanResultFormatter.php

Created on 6 November 2022, about 2 years ago
Updated 28 March 2023, over 1 year ago

Problem/Motivation

Ending a deprecation message with an url followed by a dot (to indicate the end of a sentence) renders the url with the dot included resulting in a broken link.
See https://git.drupalcode.org/project/upgrade_status/-/blob/8.x-3.x/src/Ext...
Users are therefore not redirected to the drupal.org documentation pages where further information is provided for the deprecation message.

Steps to reproduce

E.g. install a module that is missing the "core_version_requirement: ^8 || ^9".
Go to admin/reports/upgrade-status and click on 'N problems' under 'Local Scan Result'

Proposed resolution

Don't use dot after a url fixes it but perhaps the regex in https://git.drupalcode.org/project/upgrade_status/-/blob/8.x-3.x/src/Sca... needs to be changed. Not quite sure how to proceed.

🐛 Bug report
Status

Fixed

Version

3.17

Component

Code

Created by

🇳🇱Netherlands undersound3

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