[TYPO3-team-core-v5] CLI Request Handler Test fails / Security Context Holder for CLI
Robert Lemke
robert at typo3.org
Sun Aug 3 19:00:33 CEST 2008
Hi Andi,
after my last commit one of the FLOW3 tests fails (although I don't
think it has anything to do with my commit).
What happened is that during the CLI Request Handler tests a
SessionNoInitialized exception is thrown. As far as I can see, the
dispatcher gets a SecurityContextHolderSession injected, although that
doesn't make sense in CLI mode of course.
I guess we need another Context Holder for CLI at least and then find
a way to inject the one or the other depending on the type of the
current request.
Can you have a look at this issue?
Cheers,
robert
F3_FLOW3_MVC_CLI_RequestHandlerTest
.CLIRequestHandlerHandlesTestPackageRequestCorrectly
Schlägt fehl seit 1 Build (Seit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yellow.gif
Type: image/gif
Size: 1004 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core-v5/attachments/20080803/5bb068d6/attachment.gif
-------------- next part --------------
#68 )
Dauerte 0 Sekunden.
CLIRequestHandlerHandlesTestPackageRequestCorrectly
(F3_FLOW3_MVC_CLI_RequestHandlerTest)
F3_FLOW3_Session_Exception_SessionNotInitialized: /Users/five/
Documents/Hudson/jobs/FLOW3/workspace/trunk/Packages/FLOW3/Classes/
Security/F3_FLOW3_Security_ContextHolderSession.php:77 /Users/five/
Documents/Hudson/jobs/FLOW3/workspace/trunk/Packages/FLOW3/Classes/
Security/F3_FLOW3_Security_ContextHolderSession.php:91 /Users/five/
Documents/Hudson/jobs/FLOW3/workspace/trunk/Packages/FLOW3/Classes/MVC/
F3_FLOW3_MVC_Dispatcher.php:126 /Users/five/Documents/Hudson/jobs/
FLOW3/workspace/trunk/Packages/FLOW3/Classes/MVC/CLI/
F3_FLOW3_MVC_CLI_RequestHandler.php:83 /Users/five/Documents/Hudson/
jobs/FLOW3/workspace/trunk/Packages/FLOW3/Tests/MVC/CLI/
F3_FLOW3_MVC_CLI_RequestHandlerTest.php:64 /Users/five/Documents/
Hudson/jobs/FLOW3/workspace/trunk/Packages/Testing/Classes/
F3_Testing_BaseTestCase.php:66 /Users/five/Documents/Hudson/jobs/FLOW3/
workspace/trunk/Packages/Testing/Classes/
F3_Testing_TestRunnerCommandLine.php:67 /Users/five/Documents/Hudson/
jobs/FLOW3/workspace/trunk/Packages/Testing/Classes/Controller/
F3_Testing_Controller_CLI.php:92 /Users/five/Documents/Hudson/jobs/
FLOW3/workspace/trunk/Packages/FLOW3/Classes/MVC/Controller/
F3_FLOW3_MVC_Controller_ActionController.php:91 /Users/five/Documents/
Hudson/jobs/FLOW3/workspace/trunk/Packages/FLOW3/Classes/MVC/
Controller/F3_FLOW3_MVC_Controller_ActionController.php:74 /Users/five/
Documents/Hudson/jobs/FLOW3/workspace/trunk/Packages/FLOW3/Classes/MVC/
F3_FLOW3_MVC_Dispatcher.php:129 /Users/five/Documents/Hudson/jobs/
FLOW3/workspace/trunk/Packages/FLOW3/Classes/MVC/CLI/
F3_FLOW3_MVC_CLI_RequestHandler.php:83 /Users/five/Documents/Hudson/
jobs/FLOW3/workspace/trunk/Packages/FLOW3/Classes/F3_FLOW3.php:397 /
Users/five/Documents/Hudson/jobs/FLOW3/workspace/trunk/Public/
index_dev.php:30
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.netfielders.de/pipermail/typo3-team-core-v5/attachments/20080803/5bb068d6/attachment.pgp
More information about the TYPO3-team-core-v5
mailing list