If an un-routed route is passing handleAccessToTaxonomyTermViewsPages it results in a WSOD.

UnexpectedValueException: External URLs do not have an internal route name. in Drupal\Core\Url->getRouteName() (line 556 of core/lib/Drupal/Core/Url.php).

CommentFileSizeAuthor
#2 3126209-WSOD_for_unrouted_routes-2.patch1010 bytesytsurk
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ytsurk created an issue. See original summary.

ytsurk’s picture

Title: WSOD for unrouted routes » WSOD for un-routed routes
Status: Active » Needs review
StatusFileSize
new1010 bytes

Checking for ->isRouted() does the fix here.

ytsurk’s picture

Title: WSOD for un-routed routes » WSOD for un-routed routes: External URLs do not have an internal route name

SEO ;)

ytsurk’s picture

Version: 8.x-2.18 » 8.x-2.34

marcoliver made their first commit to this issue’s fork.

marcoliver’s picture

Version: 8.x-2.34 » 3.1.25
Status: Needs review » Reviewed & tested by the community

Sorry for the long wait. Merging the change into the current dev branch now.

  • marcoliver committed 5fcdc3b6 on 3.1.x-dev
    Issue #3126209 by marcoliver, ytsurk: WSOD for un-routed routes:...
marcoliver’s picture

Status: Reviewed & tested by the community » Fixed
marcoliver’s picture

Released in 3.1.26

Status: Fixed » Closed (fixed)

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