Bug #42801

New FlowSession session class is broken

Added by Martin Brüggemann about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Must have
Assignee:
Category:
Session
Start date:
2012-11-08
Due date:
% Done:

100%

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

Description

Unfortunately the new FlowSession patch has been merged today some minutes before I could save my comment at review.typo3.org. If I switch my Flow project to the new FlowSession save handler I get the following exception if I try to use the ./flow command:

PHP Fatal error:  Call to undefined method TYPO3\Flow\Cli\CommandRequestHandler::getHttpRequest() in /var/www/test/releases/20121108105617/Data/Temporary/Production/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Session_FlowSession_Original.php on line 162

Something seems to be wrong with the FlowSession intialization (should be disabled in Cli-mode?). If I flush the cache and request my project with the browser I just get a blank white page and nothing is logged (Doctrine proxy generation seems to fail too).

#1

Updated by Karsten Dambekalns about 8 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Robert Lemke
  • Target version set to 2.0 beta 1

For me Neos works fine with the change in place.

#2

Updated by Martin Brüggemann about 8 years ago

Karsten Hachmeister: Did you activate FlowSession handling in your Caches.yaml like described here? https://review.typo3.org/#/c/15942/6/Documentation/TheDefinitiveGuide/PartIII/SessionHandling.rst

Which Cache Backend are you using? Old PhpSession handler is running fine.

This is my config:

Caches.yaml
Flow_Session_Storage:                                                                                                                            
  backend: TYPO3\Flow\Cache\Backend\RedisBackend  

Objects.yaml
TYPO3\Flow\Session\SessionInterface:                                                                                                            
  className: TYPO3\Flow\Session\FlowSession 

#3

Updated by Karsten Dambekalns about 8 years ago

Martin Brüggemann wrote:

Karsten Hachmeister: Did you activate FlowSession handling

Nah, of course I obviously did not think hard enough. :)

#4

Updated by Robert Lemke about 8 years ago

  • Status changed from Needs Feedback to Accepted
  • PHP Version set to 5.4
#5

Updated by Gerrit Code Review about 8 years ago

  • Status changed from Accepted to Under Review

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

#6

Updated by Gerrit Code Review about 8 years ago

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

#7

Updated by Robert Lemke about 8 years ago

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

Also available in: Atom PDF