Platform icon indicating copy to clipboard operation
Platform copied to clipboard

[Bug] Route not defined for disabled Module

Open karneaud opened this issue 7 years ago • 2 comments

Summary of issue

Whenever I disabled a Module an error is thrown for a route of a Module that has been disabled

I get the following error

ERROR: Uncaught InvalidArgumentException: Route [admin.brokerquotes.insurer.create] not defined. in /releases/3/vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php:305 Stack trace: #0 //releases/3/vendor/maatwebsite/laravel-sidebar/src/Traits/RouteableTrait.php(41): Illuminate\Routing\UrlGenerator->route('admin.brokerquo...', Array)

The route in question derives from the disabled module in question.

Steps to reproduce

  1. install asgardcms
  2. disable Module
  3. navigate to backend

System Details

  • Operating System - Ubuntu
  • PHP Version - 7
  • Laravel Version - 5.5.44
  • Asgardcms/Platform version - 3.6.1

karneaud avatar Oct 17 '18 20:10 karneaud

Could you give more information other then "an error is thrown"?

nWidart avatar Oct 17 '18 21:10 nWidart

@nWidart updated the issue

karneaud avatar Oct 18 '18 15:10 karneaud