- Updated the dependencies on sonata to use the new SonataCoreBundle.
- The tree options confirm_move and depth are now grouped in the configuration
document_tree_options
, plus there is an additional optionprecise_children
to further help with flat trees.
- Added support for the Sonata ACL editor, if that is enabled in the configuration. http://www.sonata-project.org/bundles/admin/master/doc/reference/security.html#acl-editor
- Improved the document tree configuration so that "all" works as it was intended.
Added validation of the class names used in the tree - if you start seeing
exceptions that means you have invalid class names in your
document_tree
.
- Changed show URL from
/<doc-path>
to<doc-path>/show
as this agrees with the Sonata path.
Renamed form type doctrine_phpcr_type_tree_model
to doctrine_phpcr_odm_tree
. You will need to update your form types / admin classes, e.g. change:
$builder->add('parent', 'doctrine_phpcr_type_tree_model');
// to
$builder->add('parent', 'doctrine_phpcr_odm_tree');
renamed: Resources/views/CRUD/edit_orm_many_association_script.html.twig -> Resources/views/CRUD/edit_phpcr_many_association_script.html.twig renamed: Resources/views/CRUD/edit_orm_many_to_many.html.twig -> Resources/views/CRUD/edit_phpcr_many_to_many.html.twig renamed: Resources/views/CRUD/edit_orm_many_to_one.html.twig -> Resources/views/CRUD/edit_phpcr_many_to_one.html.twig renamed: Resources/views/CRUD/edit_orm_one_association_script.html.twig -> Resources/views/CRUD/edit_phpcr_one_association_script.html.twig renamed: Resources/views/CRUD/edit_orm_one_to_many.html.twig -> Resources/views/CRUD/edit_phpcr_one_to_many.html.twig renamed: Resources/views/CRUD/edit_orm_one_to_one.html.twig -> Resources/views/CRUD/edit_phpcr_one_to_one.html.twig renamed: Resources/views/CRUD/list_orm_many_to_many.html.twig -> Resources/views/CRUD/list_phpcr_many_to_many.html.twig renamed: Resources/views/CRUD/list_orm_many_to_one.html.twig -> Resources/views/CRUD/list_phpcr_many_to_one.html.twig renamed: Resources/views/CRUD/list_orm_one_to_many.html.twig -> Resources/views/CRUD/list_phpcr_one_to_many.html.twig renamed: Resources/views/CRUD/list_orm_one_to_one.html.twig -> Resources/views/CRUD/list_phpcr_one_to_one.html.twig
You should change any template extensions accordingly: {% extends 'SonataDoctrinePHPCRAdminBundle:CRUD:...' %}
Renamed blocks in Resources/views/Form/form_admin_fields.html.twig You should change any block overrides accordingly.