File tree Expand file tree Collapse file tree 3 files changed +39
-45
lines changed
src/Sandbox/MainBundle/DataFixtures/PHPCR Expand file tree Collapse file tree 3 files changed +39
-45
lines changed Original file line number Diff line number Diff line change @@ -95,12 +95,6 @@ cmf_core:
9595 phpcr :
9696 enabled : true
9797
98- cmf_menu :
99- persistence :
100- phpcr :
101- # TODO remove once https://github.com/jackalope/jackalope-doctrine-dbal/issues/189 is fixed
102- prefetch : 0
103-
10498cmf_routing :
10599 chain :
106100 routers_by_id :
@@ -114,8 +108,8 @@ cmf_routing:
114108 Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\RedirectRoute : cmf_routing.redirect_controller:redirectAction
115109
116110 templates_by_class :
117- Symfony\Cmf\Bundle\ContentBundle\Doctrine\Phpcr\StaticContent : SandboxMainBundle:StaticContent:index.html.twig
118111 Symfony\Cmf\Bundle\SimpleCmsBundle\Doctrine\Phpcr\Page : CmfSimpleCmsBundle:Page:index.html.twig
112+ Symfony\Cmf\Bundle\ContentBundle\Doctrine\Phpcr\StaticContent : SandboxMainBundle:StaticContent:index.html.twig
119113
120114cmf_create :
121115 editor_base_path : /bundles/cmfcreate/vendor/ckeditor/
@@ -141,6 +135,9 @@ sonata_block:
141135
142136sonata_admin :
143137 extensions :
138+ cmf_core.admin_extension.child :
139+ implements :
140+ - Symfony\Cmf\Bundle\CoreBundle\Model\ChildInterface
144141 cmf_core.admin_extension.publish_workflow.time_period :
145142 implements :
146143 - Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishTimePeriodInterface
Original file line number Diff line number Diff line change @@ -34,8 +34,7 @@ public function load(ObjectManager $dm)
3434 {
3535 $ session = $ dm ->getPhpcrSession ();
3636
37- $ basepath = $ this ->container ->getParameter ('cmf_routing.dynamic.persistence.phpcr.route_basepaths ' );
38- $ basepath = reset ($ basepath );
37+ $ basepath = $ this ->container ->getParameter ('cmf_routing.dynamic.persistence.phpcr.admin_basepath ' );
3938 if ($ session ->itemExists ($ basepath )) {
4039 $ session ->removeItem ($ basepath );
4140 }
You can’t perform that action at this time.
0 commit comments