Bug #44765

Functional test broken

Added by Michael Klapper almost 8 years ago. Updated over 7 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
#1

Updated by Karsten Dambekalns almost 8 years ago

  • Status changed from New to Under Review
  • Assignee set to Karsten Dambekalns
  • Target version set to 2.0
#2

Updated by Gerrit Code Review almost 8 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17669

#3

Updated by Gerrit Code Review almost 8 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17669

#4

Updated by Karsten Dambekalns almost 8 years ago

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

Updated by Gerrit Code Review almost 8 years ago

  • Status changed from Resolved to Under Review

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

#6

Updated by Karsten Dambekalns almost 8 years ago

  • Status changed from Under Review to Resolved
#7

Updated by Gerrit Code Review over 7 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/19103

#8

Updated by Gerrit Code Review over 7 years ago

Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/19104

#9

Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/19103

#10

Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/19104

#11

Updated by Karsten Dambekalns over 7 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF