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 about 1 year ago. Updated about 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 #1

Updated by Stefan Bürk about 1 year ago

  • Related to Task #99044: Ensure auto-created redirect are stored on connected site root added
  • Related to Feature #91776: Use the pid field to associate a redirect with the page it was created for added
  • Related to Feature #99802: Introducing a event to redirects ManagementController to modify view data helps to enrich view for custom view overrides added
Actions #2

Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76539

Actions #3

Updated by Gerrit Code Review about 1 year ago

Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76539

Actions #4

Updated by Gerrit Code Review about 1 year ago

Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76539

Actions #5

Updated by Benni Mack about 1 year ago

  • Target version changed from 12.2 to 12.3
Actions #6

Updated by Gerrit Code Review about 1 year ago

Patch set 9 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76539

Actions #7

Updated by Gerrit Code Review about 1 year ago

Patch set 10 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76539

Actions #8

Updated by Gerrit Code Review about 1 year ago

Patch set 11 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76539

Actions #9

Updated by Gerrit Code Review about 1 year ago

Patch set 12 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76539

Actions #10

Updated by Gerrit Code Review about 1 year ago

Patch set 13 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76539

Actions #11

Updated by Stefan Bürk about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #12

Updated by Chris Müller about 1 year ago

  • Related to Task #100212: Correct examples in redirect event examples added
Actions #13

Updated by Chris Müller about 1 year ago

  • Related to Task #100331: List PSR-14 events in EXT:redirects documentation added
Actions #14

Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF