- Issue created by @bricas
- πΊπΈUnited States Greg Boggs Portland Oregon
The idea is that the label is used if nothing else is available. So the code SHOULD be using your route title callback when it has one and an entity label when it does not.
- πΊπΈUnited States maskedjellybean Portland, OR
I noticed this too, but in my finding it's actually resolved in the dev version but does occur in the current 2.0.5 release. You reference the dev version of the code in your question, but is that a mistake? Do you mean to reference the 2.0.5 release code?
The cause of the problem (at least in my case) is these lines in 2.0.5:
https://git.drupalcode.org/project/easy_breadcrumb/-/blob/2.0.5/src/Easy...
Notice how the title retrieved from the title resolver service is immediately overwritten by the entity title. This is the real cause of the problem.
In the dev version that line is gone:
https://git.drupalcode.org/project/easy_breadcrumb/-/blob/2.x/src/EasyBr...
Hopefully it stays this way for the next release!
- πΊπΈUnited States maskedjellybean Portland, OR
Or could be you referenced that code before it was fixed. Not sure how GitLab handles that. Anyways, I think it's fixed in the dev version.
- Status changed to Fixed
8 months ago 5:06pm 14 June 2024 Automatically closed - issue fixed for 2 weeks with no activity.