Linkchecker incorrectly reports permanent redirects on internal linkit links

Created on 7 June 2023, about 1 year ago
Updated 14 June 2023, about 1 year ago

Problem/Motivation

When running linkchecker on internal links we found that internal linkit links were incorrectly being reported as moved permanently because linkchecker is checking the node body directly without invoking any filters.

Ex: Error Moved Permanently for link: http://dev.ddev.site/node/431

If the filters were applied prior to linkchecking then the proper url alias would be checked and no error reported.

Steps to reproduce

1. Enabled linkit on node body
2. Enable linkit
3. Create a link using linkit in a test node
4. Run linkchecker

Proposed resolution

On text, text_long and text_with_summary fields invoke the field item view method during link extraction.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Needs review

Version

1.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