Skip to content

Commit bee7b69

Browse files
Merge pull request #371 from symfony-cmf/new_tree_browser_version
use d&d from tree browser
2 parents 12d7744 + ce31526 commit bee7b69

File tree

5 files changed

+40
-28
lines changed

5 files changed

+40
-28
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ php:
44
- 5.6
55
- 7.0
66
# 7.1 is tested using composer install
7-
- hhvm
7+
#- hhvm does not work on travis anymore even with dist: trusty
88

99
sudo: false
1010

app/config/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ cmf_menu:
117117

118118
cmf_resource:
119119
description:
120-
enhancers: [sonata_phpcr_admin, cmf_tree_icons]
120+
enhancers: [sonata_phpcr_admin, cmf_tree_icons, doctrine_phpcr_position]
121121
repositories:
122122
default:
123123
type: doctrine/phpcr-odm

app/config/routing.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,7 @@ block_cache:
5252
cmf_resource:
5353
resource: '@CmfResourceRestBundle/Resources/config/routing.yml'
5454
prefix: /admin
55+
56+
sonata_phpcr_admin_tree:
57+
resource: '@SonataDoctrinePHPCRAdminBundle/Resources/config/routing/tree.xml'
58+
prefix: /admin

composer.lock

Lines changed: 29 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/Functional/AdminTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ protected function doTestReachableAdminRoutes($admin)
104104
continue;
105105
}
106106

107+
// batch routes from new admin integration would need POST request
108+
if (strpos($route->getPath(), 'batch')) {
109+
continue;
110+
}
111+
107112
// do not test POST routes
108113
if (isset($requirements['_method'])) {
109114
if ($requirements['_method'] != 'GET') {

0 commit comments

Comments
 (0)