[FLOW3-general] mapping problem
Wasko Jugovic
mailtestler at web.de
Thu Apr 26 10:15:23 CEST 2012
Thanks for your help!
Deleting all tables and upgrading from FLOW3 1.0 to FLOW3 1.1-dev did
solve my problem.
Regards Wasko
"Karsten Dambekalns" <karsten at typo3.org> schrieb im Newsbeitrag
news:mailman.1.1335346128.23146.flow3-general at lists.typo3.org...
> Hi.
>
> On 20.04.12 10:43, Wasko Jugovic wrote:
>> Uncaught exception #42S02 in line 633 of
>> /var/www/Base/Packages/Framework/Doctrine.DBAL/Classes/Connection.php:
>> SQLSTATE[42S02]: Base table or view not found: 1146 Table
>> 'ko_f3.wl_koadmin_domain_model_gemeinde' doesn't exist
>>
>> As you can see, the default table name instead of customized name is
>> used.
>> What is missing or what did I wrong?
>
> If the table is really there and can still not be found - it might be
> permissions. Anything else would seem really strange.
>
>> By the way what are the disadvantages by using custom primary-keys in
>> FLOW3?
>
> Mostly the additional typing and that the ID is generated only when
> persistAll() is called at the end of your script run. If you need the ID
> before that (e.g. to generate a link), you need to have the
> PersistenceManager injected and call persistAll() yourself.
>
> Or you could use a custom Id column without autogeneration and generate
> the id value yourself.
>
> Regards,
> Karsten
> --
> Karsten Dambekalns
> TYPO3 Core Developer, FLOW3 / Phoenix Team
>
> TYPO3 .... inspiring people to share!
> Get involved: typo3.org
More information about the FLOW3-general
mailing list