Project

General

Profile

Actions

Feature #105598

closed

Make current request available in EventListeners

Added by Lina Wolf 7 months ago. Updated 4 months ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
Start date:
2024-11-14
Due date:
% Done:

0%

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

Description

To get the current request in an event is not really clear. Some event seem to have a request object in it, in other situations you can only try to depend on $GLOBALS

A general solution would be great.

Actions #1

Updated by Garvin Hicking 7 months ago

  • Category set to System/Bootstrap/Configuration
Actions #2

Updated by Georg Ringer 4 months ago

  • Status changed from New to Rejected

hey lina,

I am closing this issue because it is kind of too general and it is also doesn't make sense to have the request in every event and not every code currently is build to have it available.

I suggest to create an issue for each event if the request is really missing and can't be retrieved by using e.g $GLOBALS[TYPO3_REQUEST]

Actions

Also available in: Atom PDF