phpcr-odm
phpcr-odm copied to clipboard
Doctrine PHPCR ODM
I would like to automatically name a node based on a given prefix then an auto-generated numeric suffix, e.g.: ``` node1/ foobar-0/ foobar-1/ foobar-2/ ``` This allows children to be...
follow up of #703 @steffenbrem lets continue the discussion here, and keep #703 for the bug you found. when we built the phpcr-odm multilanguage system, the main goal was that...
Cannot change nodename and add new reference to collection. Fails with 409, PathNotFoundException.
You cannot update the `nodename` of a document and add a new reference in the same transaction. To illustrate the issue better, I have the following code example: ``` php...
According to [the documentation](http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/working-with-objects.html#by-simple-conditions) this code should work to select a node based on an association: ``` php $number = $dm->find('MyProject\Domain\Phonenumber', '/path/to/phone/number'); $user = $dm->getRepository('MyProject\Domain\User')->findOneBy(array('phone' => $number->getUuid())); ``` However, when...
see https://github.com/doctrine/phpcr-odm/pull/669
I am attempting to use a `LEFT JOIN` behavior on child documents, but it seems to be impossible based on what I've seen. I have the following situation: - Tree...
A test has been [added](https://github.com/symfony-cmf/RoutingAutoBundle/pull/159/files#diff-d35d0adbd9705b4b3930c46cb17ba224R273) in the RoutingAutoBundle which seems to reveal a regression introduced in 83863d7e460c112aff1497abc4fdfb9c7b93cde2. Failure is as follows ``` 1) Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Functional\EventListener\AutoRouteListenerTest::testMultilangArticleRemainsSameLocale Undefined index: path /home/daniel/www/symfony-cmf/RoutingAutoBundle/vendor/symfony/phpunit-bridge/DeprecationErrorHandler.php:40 /home/daniel/www/doctrine/phpcr-odm/lib/Doctrine/ODM/PHPCR/UnitOfWork.php:1604 /home/daniel/www/doctrine/phpcr-odm/lib/Doctrine/ODM/PHPCR/UnitOfWork.php:1123...
@petforsberg reported originally in https://github.com/doctrine/DoctrinePHPCRBundle/issues/179 Within my app, when I create an Article, app auto-generates a News for it. Both (Article and News) have their own children-nodes attached (always). The...
I noticed that if you map the `@ParentDocument` it seems that the parent node is eagerly loaded: https://github.com/doctrine/phpcr-odm/blob/master/lib/Doctrine/ODM/PHPCR/UnitOfWork.php#L550 This is, I suppose, so that we know which class to create...
Implement the Query->iterate method which will return an IteratableResultSet as per the ORM.