Closed vmtzkr closed 4 years ago
You should format that properly.
Any fix for this issue? The bug stills there.
@borjadinamic can you have a look into it?
Run into the same Issue. I don't found this file on searching for it in the sonata-admin Repo. Where should it come from?
@RedPaes I think it's a missing template, here are similar files
locate list_outer_rows
/home/gparis/dev/SonataAdminBundle/Resources/views/CRUD/list_outer_rows_list.html.twig
/home/gparis/dev/SonataAdminBundle/Resources/views/CRUD/list_outer_rows_mosaic.html.twig
Yes this is the problem. Found the solution i use the sonata-admin-tree-bundle there i forgot to add the AdminController to the service:
admin.category: class: TopangeboteBundle\Admin\CategoryAdmin arguments: [~, TopangeboteBundle\Entity\Category,TopangeboteBundle:Admin\CategoryAdmin, 'name' ]
( I know is not a problem from sonata-admin but maybe usefull for somewhere else.)
But as i understand the sonata admin bundle does not provide any tree functionality. Only through other bundles? So should this list_outer_rows_tree.html.twig life in the admin bundle or third part software? So is a issue of documentation of sonata-admin or is the plan to implement somthing like https://github.com/redco/sonata-admin-tree-bundle does? @greg0ire : Thank you for your fast reply.
Not sure. Please have a look at the history to see who introduced the tree feature and ping that person
The bug is still here. i have the exact same problem
Please have a look at the history to see who introduced the tree feature and ping that person
the problems seems to be here at last from 2015, cannot going back to there from history
Why not?
Still learning how using github effectively, in anycases i searched even into the 2.x to go even more back to the history, but it seems that twig file is missing from the 2012
You could use git, the cli tool, with the --follow
in case the files was renamed git log --follow -p path
It was added here: https://github.com/sonata-project/SonataAdminBundle/commit/7d0322b53622ac506ec876a1bb19019ec58d3d99
Seems like it was half implemented. But the template was never put in place.
Has anyone found the missing file yet?
@boogiewoogieman there is nothing to find, it never existed, as said before.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Environment
MacOS Sierra / XAMPP
Sonata packages
Symfony packages
PHP version
Subject
Steps to reproduce
Download the 3.x branch and try to find the template under the defined location. This location is specified in the config yaml (https://sonata-project.org/bundles/admin/master/doc/reference/configuration.html).
Expected results
The template should be there.
Actual results
Unable to find template "SonataAdminBundle:CRUD:list_outer_rows_tree.html.twig" (looked into: /Users////app/Resources/views, /Users////vendor/symfony/symfony/src/Symfony/Bridge/Twig/Resources/views/Form, /Users///***/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views) in SonataAdminBundle:CRUD:base_list.html.twig at line 76.