Project

General

Profile

Actions

Bug #102374

closed

Missing null check in redirect slug update hook

Added by Mathias Brodala 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Must have
Category:
Redirect Handling
Target version:
Start date:
2023-11-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

With #102140 various instanceof checks where removed. In case of the DataHandlerSlugUpdateHook of EXT:redirects this check also did ensure that unprocessable items are skipped. This is not the case anymore which can cause an error like this:

https://github.com/pagemachine/typo3-flat-urls/actions/runs/6874052335/job/18695061932#step:3:476

Error: Call to a member function withChanged() on null


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #102140: Unneeded pseudo-uncertain instanceof usageClosedBenjamin Franzke2023-10-10

Actions
Actions

Also available in: Atom PDF