[Flow] Strange Exception when migrating DB
Mathis Hoffmann
mathis at hoffpost.de
Tue Aug 27 14:28:01 CEST 2013
Hello Christian,
I guess the following: You have an an entity with a OneToMany
association to another entity. You store the associated entities in a
Doctrine\Common\Collections\Collection, right? How does the
@var-annotation look like for this variable? It should be something like
@var \Doctrine\Common\Collections\Collection<\Your\Target\Entity>. Maybe
you forgot the leading backslash before Doctrine or you forgot to
specify the target entity?
Hope that helps!
Cheers
Mathis
Am 27.08.2013 14:00, schrieb Christian Loock:
> Hi,
>
> when I run doctrine:create i get the following exception:
>
> No class schema found for "Doctrine\Common\Collections\Collection". The
> class should probably marked as entity or value object!
>
> What exactly is a class schema.
>
> Can anybody hint me into a direction to investigate this?
>
> The error itself does not really help at all.
>
> Greetings,
>
> Christian
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
Am 27.08.2013 14:00, schrieb Christian Loock:
> Hi,
>
> when I run doctrine:create i get the following exception:
>
> No class schema found for "Doctrine\Common\Collections\Collection". The
> class should probably marked as entity or value object!
>
> What exactly is a class schema.
>
> Can anybody hint me into a direction to investigate this?
>
> The error itself does not really help at all.
>
> Greetings,
>
> Christian
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
More information about the Flow
mailing list