Alternative Title Overwritten with Entity->label()

Created on 18 July 2023, over 1 year ago
Updated 23 October 2023, about 1 year ago

After setting the 'Alternative title field name for breadcrumb' field to a field on a custom content type.

The breadcrumb page title is not updated to the alternate value provided.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇸United States jeffreysmattson

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

Comments & Activities

  • Issue created by @jeffreysmattson
  • 🇺🇸United States jeffreysmattson

    I wanted to create a patch since line 525 of EasyBreadCrumbBuilder.php overwrites the alternative title with the entity label.

    But the 2.x-dev branch has already overwritten that part, so I can't.

    How can I create a patch for 2.0.5 to fix this?

  • 🇺🇸United States Greg Boggs Portland Oregon

    Since you said that line of code changes in the 2.x dev branch, go ahead and check to see if dev doesn't already include a fix for this.

    We are overdue for a release, and it sounds like this feature is completely broken. So, if it is broken, you should update to the dev release and commit a fix to the Merge Request for the 2.x-dev branch, I'll then merge it and tag a new release.

    ~G

  • 🇺🇸United States jeffreysmattson

    I uploaded the simple patch to get the alternative title field to display. Sorry if this is not the way to do this here. I don't see any way to create a patch for the release of 2.0.5.

  • 🇺🇸United States jeffreysmattson

    It looks like the brokenness could be fixed in 2.x-dev. The code in this area has changed a lot. In my particular situation, I cannot risk running a dev release. I have created a patch for my situation and will wait until the next release.

    Thank you!

  • Status changed to Fixed about 1 year ago
  • 🇮🇳India rakesh.regar Rajasthan, India

    This issue is already fixed in 2.x branch so moving it to fixed

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

Production build 0.71.5 2024