Bug #44765

Functional test broken

Added by Michael Klapper almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Should have
Category:
Security
Start date:
2013-01-23
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

If you run the functional tests, you'll get the following exception thrown.

TYPO3\Flow\Security\Exception: The security Context cannot be initialized yet. Please check if it can be initialized with $securityContext->canBeInitialized() before trying to do so.

This is a side effect of the following commit:

commit ce08c301e116f3e775657a977c3f1bc3ee4fcad3
Author: Sebastian Kurfuerst <sebastian@typo3.org>
Date:   Thu Jan 17 17:57:44 2013 +0100

    [BUGFIX] The security context is only allowed to be initialized after routing took place

...

 This is a follow-up to issue #42601; where the according code has been
    implemented.

    Change-Id: I724c1b352dd1807ba53b1e336f2d90e90360ff4d
    Releases: master, 2.0


Related issues

Related to TYPO3.Flow - Bug #42601: Content Security: QOM rewriting is omitted if used in certain cases in an Action ControllerUnder ReviewRobert Lemke2012-11-01

Actions

Also available in: Atom PDF