Project

General

Profile

Actions

Feature #99834

closed

PSR-14 events around auto create redirects are use full for several use-cases

Added by Stefan Bürk over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Redirect Handling
Target version:
Start date:
2023-02-05
Due date:
% Done:

100%

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

Description

Auto redirect creation lacked the possibility to define
default values or to manipulate the record before it is
persisted to the database. The reason for this was, that
the records are directly written to the database and not
using the `DataHandler` which respects default values
and provide several hooks to use. Without the DataHandler
it was also not possible to process stuff after the redirect
has been persisted, e.g. inform other systems, send emails,
extend statistics or other use-cases.

Therefore two events should be implemented:

  • before persisting record: giving the ability to modify
    the record before it is written, enhance it with custom
    values or change it
  • after persisting: This would make it possible to react
    on really persisted redirects and do further stuff based
    on it, having the corresponding concrete redirect record
    with the `uid` available

Related issues 5 (0 open5 closed)

Related to TYPO3 Core - Task #99044: Ensure auto-created redirect are stored on connected site rootClosedStefan Bürk2022-11-10

Actions
Related to TYPO3 Core - Feature #91776: Use the pid field to associate a redirect with the page it was created forClosed2020-07-09

Actions
Related to TYPO3 Core - Feature #99802: Introducing a event to redirects ManagementController to modify view data helps to enrich view for custom view overridesClosedStefan Bürk2023-02-02

Actions
Related to TYPO3 Core - Task #100212: Correct examples in redirect event examplesClosedChris Müller2023-03-17

Actions
Related to TYPO3 Core - Task #100331: List PSR-14 events in EXT:redirects documentationClosedChris Müller2023-03-28

Actions
Actions

Also available in: Atom PDF