[FLOW3-general] Beginners question: Objects are not persisted / saved in DB

Michael Sauter mail at michaelsauter.net
Sat Jan 30 16:03:51 CET 2010


On 30.01.10 13:58, Susanne Moog wrote:
> If I var_dump($account) it shows up correctly with the wanted
> properties, however if I call $this->accountRepository->findAll() after
> adding the account to the repository it is always empty.

When are you calling findAll()? The models are not persisted immediately 
after you add them to the repository (see 
http://flow3.typo3.org/documentation/manuals/flow3/flow3.persistenceframework/, 
section 12.3)

If that's not the problem: Does the blog example work?


More information about the FLOW3-general mailing list