Problem/Motivation
After upgrading from 8.x-1.15 to 2.0.0 all of the breadcrumbs after "Home" appear empty in the UI. The links are there but the text appears to be truncated to zero. This appears to be a regression from #3203311: The current page title is not truncated when selecting "Truncate the page's title to a maximum number." because if I enable the "Truncate the page's title to a maximum number." option and set its value the issue goes away.
Steps to reproduce
Tested with Drupal 9.2.1 --
- Install Easy Breadcrumb 2.0.0
- Navigate to config (
/admin/config/user-interface/easy-breadcrumb). - Ensure Set the limit of truncation has no value and Truncate the page's title to a maximum number. is unchecked.
- Save configuration
- Observe that breadcrumbs have empty text values.
Proposed resolution
Fix changes from #3203311: The current page title is not truncated when selecting "Truncate the page's title to a maximum number." to not truncate at all if Truncate the page's title to a maximum number. is not enabled.
Remaining tasks
Create patch.
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork easy_breadcrumb-3223467
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
Comment #3
wellsLooks like @nicole.harnish already identified the issue in comment #11 of #3203311: The current page title is not truncated when selecting "Truncate the page's title to a maximum number.". Branch added here with the fix so folks can patch.
Comment #5
parthabapari commentedThanks for the patch. Its working like charm.
Comment #6
hunterbuchanan commentedUpgrading to latest 2.x-dev with this patch committed fixes this issue for us as well. If possible, please include this in a 2.0.1 release soon, we'd like to move our production sites to the new branch in our next round of updates if this is all wrapped up. Thanks a bunch!
Comment #7
greg boggsRelease created. :}