[FLOW3-general] Exception by Doctrine

Georg Grossberger georg at grossberger.at
Tue Nov 15 13:19:50 CET 2011


> I tried you Model in my package (just adjusted the namespace and @var
> annotation) and it worked out of the box
> So the bug seems to be somewhere else.

Ok, caught the gremlin

I forgot the concluding ">" in the annotations of some X:Many relations, 
aparently this breaks the parser. A exception if this is the case would 
be helpful though.

So, if you write

@var 
\Doctrine\Common\Collections\Collection<\My\Package\Domain\Model\SomeItem

(see the missing ">"?) the parser fails silently, causing the driver to 
fail without knowing why.

Greets,
Georg


More information about the FLOW3-general mailing list