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

Dmitry Dulepov dmitry.dulepov at gmail.com
Tue Dec 13 09:43:20 CET 2011


Same thing now happens on every invocation of ./flow3:

================
atlas:~/Projects/My/FLOW3-1.0.1$ ./flow3 kickstart:repository TYPO3.Blog Blog
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/Repository/BlogRepository.php
================

The class is created ok. If interested, here is my current Blog package, 
after Blog repository generation: 
https://rapidshare.com/files/389779466/flow3-blog.zip. May be experts can 
find something wrong there.

Dmitry.

Dmitry Dulepov wrote:
> Hi!
>
> Christian Müller (Kitsunet) wrote:
>> 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...
>
> http://pastebin.com/QX2H9tTF – generated Post model. Looks ok to me but
> I am not a pro in FLOW3.
>
> For the Blog model, I think the probloem is in the tutorial. It does not
> mention that "use Doctrine\ORM\Mapping as ORM;" should be added before
> using @ORM annotation. Such mentioning should be added here:
> http://flow3.typo3.org/documentation/guide/partii/modelandrepository.html#blog-model
>
>

-- 
Dmitry Dulepov
TYPO3 core&security teams member
Blog: http://dmitry-dulepov.com/
Twitter: http://twitter.com/dmitryd

Simplicity will save the world.


More information about the FLOW3-general mailing list