Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Changed computeSingleDocumentChangeset to computeChangeSet #14

Merged
merged 1 commit into from
Apr 17, 2013

Conversation

dantleech
Copy link
Member

I will merge this PR but just want to log the problem for reference. I think maybe that this might not even be a hack, but the right thing to do.

When saving a Blog in SonataAdmin with RoutingAuto enabled I was getting the following were "dtls-blog" was the original name and "renamed" was the new name.

[... ] "renamed" is not a valid child of node [...]
at NodeHelper ::orderBeforeArray ('home', 'renamed', array('dtls-blog', 'home'))
in /home/daniel/www/travelblog/vendor/jackalope/jackalope/src/Jackalope/Node.php at line 453  -+
at Node ->orderBefore ('home', 'renamed')
in /home/daniel/www/travelblog/vendor/doctrine/phpcr-odm/lib/Doctrine/ODM/PHPCR/UnitOfWork.php at line 2145  -+
at UnitOfWork ->executeUpdates (array('000000003244ee220000000098db5f4f' => object(Blog), '000000003244ef150000000098db5f4f' => object(Generic), '000000003244e88d0000000098db5f4f' => object(AutoRoute)))
in /home/daniel/www/travelblog/vendor/doctrine/phpcr-odm/lib/Doctrine/ODM/PHPCR/UnitOfWork.php at line 1756

This is also related to PR : doctrine/phpcr-odm#277

Which is possibly related to this problem.

dantleech added a commit that referenced this pull request Apr 17, 2013
Changed computeSingleDocumentChangeset to computeChangeSet
@dantleech dantleech merged commit 1d82866 into symfony-cmf:master Apr 17, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant