Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
menu system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2014 at 08:11 UTC
Updated:
29 Jul 2014 at 23:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mondrakeNot sure about priority nor whether there are other issues for this.
Comment #2
mondrakeComment #3
sidharthapI tried it for contact module and the result is same. The path remains inside the menu_link table after the module uninstall.
Comment #4
internetdevels commentedThis patch should fix the problem.
Comment #5
berdirWe're not removing routers, we're removing routes. The router is the thing that routes a route :)
Also, this issue is about menu links, not routes, so not sure how this is related?
Comment #6
sidharthapA new patch to remove menu links.
Comment #7
dawehnernote: #2177041: Remove all implementations of hook_menu contains a fix for that.
Comment #8
catchPostponing on that issue, we can re-test this after that's in. Or if that issue is adding test coverage just mark duplicate.
Comment #9
mondrakeAdded related #2177041: Remove all implementations of hook_menu for tracking.
Comment #10
mondrakeAdded related.
Comment #11
mondrakeOK, so #2177041: Remove all implementations of hook_menu has solved the OP, i.e. the menu link is removed. However, the route seems to be still resolved as by calling the route path from the browser directly I still get the exception:
http://{mysite}/admin/config/development/testingin the browser address box you get an exception Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "\drupal\simpletest\form\simpletesttestform"I suppose #2200185: Router table is not cleared when modules are uninstalled would cover that?
Setting to active for verification, feel free to set to duplicate as the OP is actually fixed.
Comment #12
catchI bumped the other issue to critical, marking this as duplicate for now.