Can't add a child to an existing slideshow
EmmanuelVella opened this issue · 11 comments
I'm using the 1.0 branch. I can create a slideshow with many childrens. But as soon as I want to add one child to an existing slideshow, the child won't be persisted. Can't figure out why !
i remember we had quite some problem with this. it was something stupid: e324f7f
if you say by_reference false, the form layer is creating copies, messing up phpcr-odm. are you using the latest 1.0 versions of phpcr-odm, sonata admin and the blockbundle?
Yes I'm using the latest 1.0 branch sonata-project/doctrine-phpcr-admin-bundle, doctrine/phpcr-odm and symfony-cmf/block-bundle !
just to be sure, can you check if you have any by_reference in your sonata admin? it sounds a lot like the problem we had before that fix.
I first tried with the 1.0 tag then with the latest 1.0 branch version, both doesn't work ! I checked again, the by_reference option is not present.
strange. are you sure you do not use a different admin that you copied?
Yes, that's the first time I use the slideshow. I will continue to investigate, it would be cool if someone could test and confirm the issue !
does it work in the current cmf-sandbox or is it broken there as well?
It does not work on http://cmf.liip.ch/fr/admin/cmf/block/slideshowblock/create (error 500). For the moment I can't tell on a fresh sandbox install as I have a limited internet access for a few days :(
It's not related to the BlockBundle nor the Slideshow admin. I have the same issue in other admin as well.
Just updated sonata-admin-bundle and sonata-block-bundle from 2.2.6 to 2.2.7 and now it works. Thanks for your help !
uff :-)