[TYPO3-mvc] After introducing "tx_extbase_type" my frontendusers aren't outputted
Thomas "Thasmo" Deinhamer
thasmo at gmail.com
Wed Apr 21 15:17:09 CEST 2010
You wrote *boom* - or did you say it? ;o)
Thomas
Am 21.04.2010 15:12, schrieb Jochen Rau:
> 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