[TYPO3-mvc] Extbase kickstarter not creating repository class

Christine Gerpheide cgerpheide at gmail.com
Tue Feb 16 22:39:33 CET 2010


Well is the repository created when you save it?  I recall this working fine
for me in the kickstarter, with the scaffolding.  If it's not, for whatever
reason, then you can create a new repository class manually, following the
folder and naming structure of the blog_example extension.

Christine

2010/2/16 Søren Malling <soren.malling at gmail.com>

> Hi Christine,
>
> I'm not much into the Domain Driven Design concepts, yet so some of
> the used terms are still new to me.
>
> I already checked the "Is aggregate root" for the members model (I've
> taken notice of using capital start letter and will do so in my final
> production) but as mentioned the error occures.
>
> I've taken a screenshot of the model objects and hope that someone can
> see the problem
>
> http://img534.imageshack.us/i/extbasekickstartmodel.png/
>
> Regards and thanks,
>
> Søren
>
> On Tue, Feb 16, 2010 at 3:03 PM, Christine Gerpheide
> <cgerpheide at gmail.com> wrote:
> > Hi Soren,
> >
> > In the kickstarter, did you check the box "is aggregate root" inside the
> > member model?  This tells the kickstarter to create a repository (it's a
> > domain driven design concept).  It's also good practice to make the class
> > name "Member" instead of "member" with a lowercase m.
> >
> > Christine
> >
> > 2010/2/16 Søren Malling <soren.malling at gmail.com>
> >
> >> Hi,
> >>
> >> Just created a new extbase plugin with the kickstarter with two
> >> models, districts and members. But i get the following error in the
> >> frontend
> >>
> >> Exception
> >>
> >> The repository class "Tx_Groupmembers_Domain_Model_members" does not
> exist.
> >>
> >> The interesting part is, based on the videocast regarding scaffolding
> >> I managed to create a plugin with a single model, but in this case i
> >> got two models where the members model have a relation to the
> >> districts model.
> >>
> >> A file named "members.php" exists in Classes/Domain/Model/ with the
> >> class name mentioned above.
> >>
> >> This is my first extbase try, so maybe someone can point me to where
> >> to look for a solution?
> >>
> >> Regards,
> >>
> >> Søren
> >> _______________________________________________
> >> TYPO3-project-typo3v4mvc mailing list
> >> TYPO3-project-typo3v4mvc at lists.typo3.org
> >>
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
> >>
> > _______________________________________________
> > 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
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>


More information about the TYPO3-project-typo3v4mvc mailing list