[FLOW3-general] No class schema found for "Doctrine\Common\Collections\Collection"

"Christian Müller (Kitsunet)" christian.mueller at typo3.org
Mon Dec 12 16:57:23 CET 2011


Hi Dmitry,

sounds quite like a bug, but a very strange one. 
Doctrine\Common\Collections\Collection should be there. Can you post the 
created model and tell if everything works after that exception? I guess 
that there was some race condition, but I would like to find out. The 
tutorial should work as is...

Christian

On 12/12/11 15:40, Dmitry Dulepov wrote:
> Hi!
>
> Trying to follow:
> http://flow3.typo3.org/documentation/guide/partii/modelandrepository.html
>
> Firsts, I got a error about @ORM\Column but I solved that with "use
> Doctrine\ORM\Mapping as ORM;".
>
> But now when I try to create a Post model, it says:
>
> ===============
> atlas:~/Projects/My/FLOW3-1.0.1$ ./flow3 kickstart:model --force
> TYPO3.Blog Post 'blog:\TYPO3\Blog\Domain\Model\Blog' title:string
> linkTitle:string date:\DateTime author:string content:string
> Uncaught Exception
> No class schema found for "Doctrine\Common\Collections\Collection"
>
> More Information
> Exception code #1295973082
> File
> /Users/dima/Projects/My/FLOW3-1.0.1/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/TYPO3_FLOW3_Persistence_Doctrine_Mapping_Driver_Flow3AnnotationDriver_Original.php
> line 80
>
> Created .../TYPO3.Blog/Classes/Domain/Model/Post.php
> As a new model was generated, don't forget to update the database schema
> with the respective doctrine:* commands.
> ===============
>
> Why am I getting the exception here? Is it a bug in FLOW3?
>
> FLOW3 1.1.0 base.
>



More information about the FLOW3-general mailing list