[TYPO3-mvc] updateAction not saving field extending another Model

Søren Malling soren.malling at gmail.com
Fri Feb 19 08:39:49 CET 2010


Hi Uwe,

I wasn't aware of the need of setting ts to map data? I thought that
was "set automaticly" when I extended the FrontendUser Domain Model?

Unfortunately, mapping of my model member didn't save any data to my table.

So, I'm back to the part where i look at my table, what should the
correct name of a table field be, when it's named "number" in my
model? tx_groupmembers_domain_model_member_number? And what should the
name of the field be, in my fluid template? Other field like name,
address and so on from the fe_users table are shown without a problem
and data are saved smoothly, so i figure the problem is on my site of
the table :-)

Regards,

Søren

On Thu, Feb 18, 2010 at 6:33 PM, Uwe Michelfelder <um at limeflavour.com> wrote:
> Hi Sören,
>
> have configured your TS yet?
>
> config.tx_extbase {
>
>        persistence{
>                storagePid = XXX
>                classes {
>
>                    # Mappings for User related Tables
>                    Tx_Groupmembers_Domain_Model_Member {
>                        mapping {
>                            tableName = fe_users
>                        }
>                    }
>
>
>                        # Mappings for Group related Tables
>                        Tx_Groupmembers_Domain_Model_Group {
>                                mapping {
>                                        tableName = fe_groups
>                                }
>                        }
>
>                }
>        }
> }
>
> Greets,
> Uwe
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>



-- 
Officially Certified TYPO3 Integrator


More information about the TYPO3-project-typo3v4mvc mailing list