Bug #37434

Functional Domain/NodesTest must have testableHttpEnabled

Added by Adrian Föder about 3 years ago. Updated about 3 years ago.

Status:Resolved Start date:2012-05-23
Priority:Must have Due date:
Assigned To:Adrian Föder % Done:

0%

Category:Node handling
Target version:-

Description

TYPO3\TYPO3\Domain\Service\ContentContext::initializeObject() has

$activeRequesthandler->getHttpRequest()->getUri()->getHost())

getHttpRequest() returns NULL if the TYPO3CR's NodesTest doesn't have

protected $testableHttpEnabled = TRUE;

and therefore the FunctionalTest fatal error's very early with "calling getUri() on a Non-object"

Associated revisions

Revision a9e150eb
Added by Adrian Föder about 3 years ago

[BUGFIX] Functional Test Domain\NodesTest now has Http enabled

The NodesTest must have testableHttpEnabled set to TRUE in order
to don't let the involved TYPO3.TYPO3\Domain\Service\ContentContext
fail.

Change-Id: Ia5df4743011b6e074a80e84e51a033ff938dac03
Fixes: #37434

History

#1 Updated by Gerrit Code Review about 3 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11538

#2 Updated by Christian Müller about 3 years ago

  • Status changed from New to Under Review

#3 Updated by Christian Müller about 3 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF