Closed oste closed 11 years ago
this is caused by https://github.com/doctrine/phpcr-odm/pull/279 would be great if you could work on a PR
see also https://github.com/symfony-cmf/RoutingBundle/pull/100
I would like to open a PR but I am unsure about what to do.
I tried to change this line to be "type" instead of "name" here: https://github.com/symfony-cmf/BlockBundle/blob/master/Document/ImagineBlock.php#L19
but that gives this error:
[Doctrine\Common\Annotations\AnnotationException]
[Creation Error] The annotation @PHPCRODM\Child declared on property Symfony\Cmf\Bundle\BlockBundle\Document\ImagineBlock::$image does not have a property named "type". Available pr
operties: nodeName, cascade
I think you should try to use "nodeName" instead of "name" according the changelog here https://github.com/doctrine/phpcr-odm/blob/master/CHANGELOG.md
ideally we would switch this to xml mappings instead of annotations, now that the xml mapping is properly working. if nobody does a PR tonight, i will do that tomorrow morning.
fixed by #64
[Doctrine\Common\Annotations\AnnotationException] [Creation Error] The annotation @PHPCRODM\Child declared on property Symfony\Cmf\Bundle\BlockBundle\Document\ImagineBlock::$image does not have a property named "name". Available properties: nodeName, cascade
I am seeing the above error after composer update or cache clear
Here are my deps, I am just investigating around so these might not be ideal