- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3.7k
Closed
Labels
Description
Steps to reproduce the issue
Version 3.7.2 (we are trying to update to it from 3.6.2)
Put a default template.
Choose a Menu item and put another template as its template style.
Using SEF for the site.
Expected result
When accessing the menu item alias, it should change the template to the one assigned to the menu item.
Actual result
Only the default template is displayed.
System information (as much as possible)
Additional comments
Debugging the code, it seems that the getTemplate function at libraries/cms/application/site.php is being called BEFORE the parseSefRoute function at /libraries/cms/router/site.php.
But for the getTemplate function to work properly it depends on the parseSefRoute function having already assigned what is the active Menu Item.