Project

General

Profile

Actions

Feature #98567

open

Check for redirects without existing target page

Added by Josef Glatz over 1 year ago. Updated 9 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Redirect Handling
Start date:
2022-10-10
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Problem/Description

It's possible that sys_redirect records are getting conflicting when the configured target (like a page with t3://page... schema) is deleted. At least the symfony command `redirects:checkintegrity` reports them.

ToDo(s)

  • Add a schedulable command to check/cleanup such orphaned sys_redirect records

Acceptance Criteria

  • It's possible to cleanup redirect records in an automatic way if the target isn't available anymore within the TYPO3 instance.

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #99485: Show the redirect integrity statusClosedGuido Schmechel2023-01-07

Actions
Actions #1

Updated by Oliver Hader over 1 year ago

  • Sprint Focus set to On Location Sprint
Actions #2

Updated by Guido Schmechel over 1 year ago

Actions #3

Updated by Guido Schmechel over 1 year ago

I have an approach here to at least check t3 things and mark them as invalid. This is then based on my patch from the other issue. Feel free to check the base patch.

I can still check T3 pages and T3 files/folders well. For self-registered link handlers, like t3://github, I would suggest that we integrate a PSR14 event where you can add your own check.

Actions #4

Updated by Kevin Appelt over 1 year ago

  • Category changed from Link Handling, Site Handling & Routing to Redirect Handling
Actions #5

Updated by Benni Mack about 1 year ago

  • Target version changed from 12 LTS to Candidate for Major Version
Actions #6

Updated by Benni Mack 9 months ago

  • Sprint Focus deleted (On Location Sprint)
Actions

Also available in: Atom PDF