l3pp4rd/DoctrineExtensions — pull request #459 by craigmarvelley (2012-09-11 11:12:16+00:00)
Title: Ensure parent is initialized before node update

Hi,

This is a fix for issue #458, which ensures that when using the Materialized Path strategy, the parent of the node is initialized before it is updated so that path, level etc. can be calculated.

I looked into adding a test case for this but the current tests use a custom repository which mean that the issue doesn't occur with the test strategy. Are there any examples of tests which use Doctrine proxy classes? I'll be able to add a test case if you can point me in the right direction.

Cheers,
Craig