Installing Help module on a minimal install trows an error.

How to reproduce:

Step 1: Perform a minimal install of D8 Beta1 (or the latest dev version).
Step 2: (optional) Set "Error messages to display" to "All messages, with backtrace information"
Step 3: Install field_ui.module (click save).
Step 4: Install help.module... and you get an error.

If you check the watchdog you see that the hook_help() implementation in field_ui.module calls \Drupal::url() with the route 'taxonomy.vocabulary_list' which of course does not exist and you get this error:

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "taxonomy.vocabulary_list" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 147 of /var/www/d8b1-local/core/lib/Drupal/Core/Routing/RouteProvider.php).

How to fix:

Check if the taxonomy module is installed inside field_ui_help().

CommentFileSizeAuthor
#1 field_ui_help_missing_route-2350997-1.patch3.29 KBAnonymous (not verified)

Comments

Anonymous’s picture

Anonymous’s picture

Issue summary: View changes
Anonymous’s picture

Status: Active » Needs review
swentel’s picture

Status: Needs review » Reviewed & tested by the community

Good catch, thanks!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 8d59085 and pushed to 8.0.x. Thanks!

  • alexpott committed 8d59085 on 8.0.x
    Issue #2350997 by SchnWalter: Fixed Help module install error when...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.