Catch exception on lookup of matching redirects when creating a breadcrumb

Created on 7 March 2024, 10 months ago
Updated 21 March 2024, 9 months ago

πŸ› Redirect lookup does not account for the redirect language Fixed changed the function used for finding matching redirects so current language is considered.

That method can cause exceptions (see https://git.drupalcode.org/project/redirect/-/blob/8.x-1.x/src/RedirectR...), and will cause a WSOD as they aren't handled.

Catch them and show no breadcrumb instead of a WSOD.

STR:

1. Create redirects that generate a loop
1.1 Create a redirect from /test to /node/2 (before it exists).
1.2 Create node/2 with path /test.
2. Go to one of the nodes involved in the loop (/test).

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain penyaskito Seville πŸ’ƒ, Spain πŸ‡ͺπŸ‡Έ, UTC+2 πŸ‡ͺπŸ‡Ί

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024