@Christophe: Thanks for the explanation. This was basically my
understanding of things. I tried this approach (extending from the
superclass) but ran into some errors. It turns out that the current
beta 1 of Symfony 2 is incompatible to the UserBundle. I checked out
the master versions of both from GitHub and voilá!
This basically is what Tim suggested and what the ReadMe says:

Caution: This bundles is developed in sync with symfony's repository

The PR6 tag marks the commit in sync with the PR6 release of Symfony
but it is not a maintained release of the bundle. All bug fixes will
be made in the master branch.

Source: 
https://github.com/FriendsOfSymfony/UserBundle/blob/master/README.markdown



On May 21, 10:58 am, Tim Nagel <t...@nagel.com.au> wrote:
> I'm pretty sure that the mapping information location changed between
> beta1 and beta2, and UserBundle is developed alongside master symfony.
>
> You will need to upgrade UserBundle or check out a commit that
> happened before the change to the metadata move.
>
> t
>
>
>
>
>
>
>
> On Sat, May 21, 2011 at 00:24, Christophe COEVOET <s...@notk.org> wrote:
> > Le 20/05/2011 08:40, riker09 a écrit :
>
> >> On May 19, 12:49 pm, Christophe COEVOET<s...@notk.org>  wrote:
>
> >>> No tables are created for the FOSUserBundle as it provides only some
> >>> mapped superclass. You need to implement the entity. Read the doc of the
>
> >>> bundle:https://github.com/FriendsOfSymfony/UserBundle/blob/master/Resources/...
>
> >> I'm trying, I really am, but this kind of a difficult concept for me
> >> to grasp. What exactly are those mapped superclasses? What do you mean
> >> by "You need to implement the entity"? Do I have to define all the
> >> fields for the table/document all over again? Seems like the wrong way
> >> to go here...
>
> >> Volker
>
> > A mapped superclass is a class which contains some mapping which will be
> > inherited by the subclasses but which is not an entity itself (and so it has
> > no corresponding tables). You don't need to redefine all fields in the child
> > class. You just need to make your entity inherit from the mapped superclass.
> > And as I said, read the doc of the bundle to see what is needed to use the
> > bundle.
>
> > --
> > Christophe | Stof
>
> > --
> > If you want to report a vulnerability issue on symfony, please send it to
> > security at symfony-project.com
>
> > You received this message because you are subscribed to the Google
> > Groups "symfony users" group.
> > To post to this group, send email to symfony-users@googlegroups.com
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to