[TYPO3-mvc] Extending Tx_Extbase_Domain_Model_FrontendUser
Rens Admiraal
renst3 at e-rank.nl
Thu Jan 14 13:57:25 CET 2010
On Thursday 14 January 2010 13:51:32 Franz Koch wrote:
> Hi,
>
> > If inheritance does not work.
>
> I don't have any issues with inheritence so far - but I haven't updated
> a record yet. But extending classes and remapping the tables is working
> for me.
How do you remap the tables?
>
> >> and extend Tx_Extbase_DomainObject_AbstractEntity now. But it's still
> >> saving all records in the wrong table... Do you have some example
> >> code???
>
> How can they be saved in the wrong table? Therefor the "wrong" table has
> to exist - but why would you have a duplicate table of fe_users? Try to
> rename the table so that extbase doesn't find your duplicate and only
> deal with fe_user table if you try to work with FrontendUsers.
Franz: I first created the objects using the kickstarter, and changed them
afterwards. This is the reason why the records is saved in the wrong table.
Otherwise it would been a "table doesn't exist" error
>
More information about the TYPO3-project-typo3v4mvc
mailing list