This topic contains 4 replies, has 2 voices, and was last updated by Hiro 9 years, 6 months ago.
- Topic
I have just upgraded OroCRM and when I try to see the website I get the following after logging in:
1An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "orocrm_sales_b2bcustomer_index" as such route does not exist.") in OroNavigationBundle:ApplicationMenu:applicationMenu.html.twig at line 2.When I execute the following command I don’t get the route “orocrm_sales_b2bcustomer_*”:
1php app/console router:debug | egrep "orocrm_sales_"Odd thing is that Symfony does not seem to recognize the file:
123(Omitting)/vendor/oro/crm/src/OroCRM/Bundle/SalesBundle/Controller/B2bCustomerController.phpbut it does recognize if I copy the above file into the controller folder in my bundle folder, and the route “orocrm_sales_b2bcustomer_*” is generated.
I think the controller is recently shown up as my other development environment having One week older OroCRM does not have the file.
For now I just commented some lines in
vendor/oro/crm/src/OroCRM/Bundle/SalesBundle/Resources/config/navigation.ymlas follows:
1234567891011121314(Omitting)#b2bcustomer_list:# label: 'orocrm.sales.b2bcustomer.entity_plural_label'# route: 'orocrm_sales_b2bcustomer_index'# display: false# extras:# position: 70# routes: ['orocrm_sales_b2bcustomer_*']# description: 'orocrm.sales.menu.b2bcustomer_list.description'(Omitting)#orocrm_sales_b2bcustomer_index: ~#orocrm_sales_b2bcustomer_view: '%%b2bcustomer.name%%'#orocrm_sales_b2bcustomer_create: 'Create B2B Customer'#orocrm_sales_b2bcustomer_update: '%%b2bcustomer.name%% - Edit'Any Idea what is going on and if I can fix this issue?
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.