?
avatar infograf768
infograf768
17 Aug 2017

Steps to reproduce the issue

Display Menu Manager
Click on Options.
Click on Cancel

Error:
`An error has occurred.

404 View not found [name, type, prefix]: joomla\component\menus\administrator\controller\, html, `

I added

class Controller extends BaseController
{
	/**
	 * @var		string	The default view.
	 * @since   4.0
	 */
	protected $default_view = 'menus';
}

in /administrator/components/com_menus/Controller/Controller.php
and it solves this issue.

But I am not sure this is enough or if we need to use items.
Don't we also need a public function display() method?

@Webdongle Thanks you for looking into this.

avatar infograf768 infograf768 - open - 17 Aug 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 17 Aug 2017

Issue confirmed.
bildschirmfoto 2017-08-17 um 11 47 58

avatar joomla-cms-bot joomla-cms-bot - change - 17 Aug 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Aug 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 17 Aug 2017
Category com_menus
avatar franz-wohlkoenig franz-wohlkoenig - change - 17 Aug 2017
Status New Confirmed
avatar C-Lodder
C-Lodder - comment - 17 Aug 2017

Having fetched the latest code, I do NOT get the error you mentioned, I simply get redirected back to the dashboard when I click cancel. The code change you suggested ensure I get redirected back to com_menu.

avatar infograf768
infograf768 - comment - 19 Aug 2017

I confirm, if it was necessary, that I still get the error on a clean install of the latest code.

avatar wilsonge
wilsonge - comment - 19 Aug 2017

Fixed with 6312df8

avatar wilsonge wilsonge - change - 19 Aug 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-08-19 22:09:32
Closed_By wilsonge
avatar wilsonge wilsonge - close - 19 Aug 2017

Add a Comment

Login with GitHub to post a comment