dantleech
dantleech
I wonder if it would be possible to create a field type which would map a collection of child nodes to the property. ``` php $image1 = new Image(); //...
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...
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...
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...
The document manager currently has one localization aware method - `findTranslation`, which is the localized analogue of `find` There does not exist an analogue for ``findMany` and the query builder...
It should be possible to have an array type which automatically creates a structure, e.g ``` php class Site { /** * @PHPCR\AssocArray() */ protected $preferences; } ``` Then automatically...
Currently it is not possible to map references (`@ReferenceOne`, `@ReferenceMany`) as translated fields. This should be possible I think.
I think it is. AFAIK the way to do this current is: ``` $qb->where()->eq()->field('c.address')->literal($address->getUuid()); ``` We could do something like: ``` $qb->where()->eq()->field('c.address')->uuidOf($address); ``` Or automatically cast referenceable objects to uuids:...
Just for the record there seems to be a bug with the new early exist in the UOW#commit relating to updating translations, but not able to figure it out right...
Following the documentation [here](https://docs.bolt.cm/3.0/extensions/advanced/customfields) instructions are given for registering custom assets. However, this will not work unless the assets are assigned to a zone: ``` php $asset = new JavaScript('web/jquery.uix.multiselect.min.js');...