Project

General

Profile

Actions

Bug #99042

closed

rebuild cache on new redirect

Added by Achim Fritz about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-11-10
Due date:
% Done:

100%

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

Description

creating a new redirect in Redirect-Module do not trigger the redirectCacheService to rebuild cache because
$dataHandler->datamap['sys_redirect'][(int)$parameters['uid']] ist not set
(but $dataHandler->datamap['sys_redirect']['NEW...']

Steps to reproduce
  • empty table sys_redirect
  • create a redirect in the Backend-Module (cache table still keeps empty)
  • call created redirect URL in FE (cache is created, because table was empty)
  • create an other redirect in the Backend-Module (cache table is not updatet)
  • call the new created redirect URL in FE ends to 404 Error

(if you edit the new created redirect in Backend-Module (change some value), and save it, the redirect works in FE (because cache table was updatet)

TYPO3 v11 and v12

(s. also https://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/8d7090704b7140338a4ecfecec84644f5aa2f606/diff)

Actions

Also available in: Atom PDF