[Flow] blog example (definitive Guide) not working

Peter Linzenkirchner liste at lisardo.de
Sun May 26 20:21:34 CEST 2013


Hello!

i am exploring flow this weekend but found a problem which i cannot solve for about a few hours now. 

First i installed flow (last version, 2.0) following the quickstart example which works quite well. i finished the quickstart, can add my coffee beans so the database connection is working. 

After that i tried Part II of Getting Started. All works well until the setup Controller: 
http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartII/Controller.html

When i call http://flowtest.local/typo3.blog/setup i get "Successfully created a blog" as expected but the database remains empty. No error is thrown and debugging with 
\TYPO3\FLOW\var_dump($this->blogRepository)
shows me the correct output: 

Flow Variable Dump
TYPO3\Blog\Domain\Repository\BlogRepositorysingletonobjectproxy
persistenceManager => TYPO3\Flow\Persistence\Doctrine\PersistenceManagersingletonobjectproxy
entityClassName => 'TYPO3\Blog\Domain\Model\Blog
' (28)
defaultOrderings => array(empty)

So i presume that my code is correct, only the data is not written into the database. 

Because i am not able to found the problem for hours i deleted my blog example and installed the finished blog example. Updating the database works without problem but calling setup ends in an error with the authentication class. After commenting these lines the setup runs without any further errors but with the same result as my own example: no error but an empty database. 

So my question: is there anything different in the persistant layer of version 2.0? Do i need to alter the blog example in order to persist the data? My coffeebean-Example still works ... 

Thanks!
Peter



--
Xing: http://www.xing.com/profile/Peter_Linzenkirchner
Web: http://www.typo3-lisardo.de
Facebook: http://tinyurl.com/lisardo-multimedia



More information about the Flow mailing list