Project

General

Profile

Actions

Bug #68506

closed

Extbase must use response-object to set response-headers/statuscode

Added by Stefan Neufeind over 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extbase
Target version:
Start date:
2015-07-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Yes
Sprint Focus:
Stabilization Sprint

Description

With #67558 the core got a request/response-model according to PSR-7. This however seems to lead to problems with Extbase, since the response-handling of Extbase isn't yet adapted.

Extbase senders headers to the browser directly instead of returning those through the response-object we have now. This happens in typo3/sysext/extbase/Classes/Mvc/Web/Response.php, sendHeaders(). When Extbase wants to set a custom statusCode, it sends a header directly. But when finishing the request the response-object overwrites that status to "200 OK" again.

Headers shouldn't be sent by Extbase anyway but instead be properly passed through to the response-object.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Task #67558: Introduce Request/Response objects for the Bootstrap based on PSR-7ClosedBenni Mack2015-06-17

Actions
Related to TYPO3 Core - Bug #68595: Module Menu vanishes when creating a new Content ElementClosed2015-07-28

Actions
Related to TYPO3 Core - Bug #68670: Do not let legacy code take precedence over HTTP headersClosed2015-07-31

Actions
Actions

Also available in: Atom PDF