[Flow] Strange Exception when migrating DB
Christian Loock
chl at vkf-renzel.de
Tue Aug 27 14:38:32 CEST 2013
Hi Mathis,
must have been something like this. Or maybe an old version of the model
was cached or somethin likes this. Fortunatly, all of a sudden it worked.
Strange.
Am 27.08.2013 14:28, schrieb Mathis Hoffmann:
> 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
>
>
>
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
More information about the Flow
mailing list