[TYPO3-mvc] After introducing "tx_extbase_type" my frontendusers aren't outputted

Jochen Rau jochen.rau at typoplanet.de
Wed Apr 21 15:12:42 CEST 2010


Hi.

On 21.04.10 15:08, Marco Huber wrote:
>> $personRepository->findAll() will return all records mapped to class
> Person (boom!). In this case we *must* add "recordType = Person" or we
> have to set up our own table "person" for this.
>
> What is if we find a Person with $personRepository->findAll() which
> already has a recordType (for example a Company), change something and
> then store it back to the database? I think in this case the recordType
> should not be changed to Person. Because the next time we use
> $companyRepository->findAll() we won't find this company.

That's why I said *boom!* ;-)

You have to provide a recordType for Person.

Regards
Jochen


More information about the TYPO3-project-typo3v4mvc mailing list