Problem/Motivation

If the URLs for the pages are manually set and the path to a page earlier in the breadcrumb is changed, the breadcrumb for that part is rendered as text.

Proposed resolution

Add a check to the redirect module and use that if available.

CommentFileSizeAuthor
#2 check_redirects-2938649-2.patch932 bytesjohn cook

Comments

John Cook created an issue. See original summary.

john cook’s picture

Status: Active » Needs review
StatusFileSize
new932 bytes

I've added a check to look-up the segment URLs in the redirect table (if available). This will then use the normal path to construct the path to the breadcrumb segment instead of the old/redirected URL.

greg boggs’s picture

Nice Fix! Thanks.

loopduplicate’s picture

Assigned: Unassigned » loopduplicate
Status: Needs review » Reviewed & tested by the community

Looks good to me too. Committing soon.

loopduplicate’s picture

Assigned: loopduplicate » Unassigned
Status: Reviewed & tested by the community » Fixed

Done :)

Status: Fixed » Closed (fixed)

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