When I try to install LDAP Authentication module I got the error below. For other ldap modules there is no problem.
I have Drupal 8.3.2

RuntimeException: Recursive router rebuild detected. in Drupal\Core\Routing\RouteBuilder->rebuild() (line 121 of /www/html/academics/core/lib/Drupal/Core/Routing/RouteBuilder.php).

Comments

tanmuhittin created an issue. See original summary.

grahl’s picture

Priority: Normal » Minor
Issue tags: -recursive router

Hi

Thanks for your bug report, this is likely related to an incomplete restructuring. I'm marking this as minor since it doesn't (at least for me) cause any issues apart from that message in terms of functionality.

Please let us know if you have an additional problem relating to this error message.

tanmuhittin’s picture

After this error i refresh the page and the module looks enabled. But when i go to ldap page under configuration > people i got unexpected error page. In the recent logs this error occurs

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "ldap_authentication.admin_form" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 190 of /www/html/academics/core/lib/Drupal/Core/Routing/RouteProvider.php).

Altough the module looks enabled.

grahl’s picture

Thanks for the follow-up. I can reproduce the former issue but not the latter, that sounds more like a cache issue.

tanmuhittin’s picture

After cleaning the cache ldap page worked without error. Thanks :)

  • grahl committed 82e61cb on 8.x-3.x
    Issue #2885675 by grahl: Recursive router rebuild detected
    
grahl’s picture

Status: Active » Fixed

I've taken out the router rebuild from the installation routine.

  • grahl committed 773e131 on 8.x-3.x
    Issue #2885675 by grahl: Recursive router rebuild detected
    

Status: Fixed » Closed (fixed)

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