First, I must say this is a very helpful module while I using this I had an issue with the breadcrumb attached a screenshot for reference

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mimran created an issue. See original summary.

mimran’s picture

Attached a patch

mimran’s picture

Status: Active » Needs review
Sachini’s picture

Status: Needs review » Needs work

Hi mimran,
Thanks for posting the issue and the patch.
When applying the patch, I get the error

Undefined offset: 2 in Drupal\rdfui\Breadcrumb\RdfUiBreadcrumbBuilder->applies() (line 24 of modules/rdfui/src/Breadcrumb/RdfUiBreadcrumbBuilder.php).
Drupal\rdfui\Breadcrumb\RdfUiBreadcrumbBuilder->applies(Object) (Line: 78)
mimran’s picture

Hi Sachini,
i have checked the patch again with drupal 8.1.3 it worked fine for me in which version you checked?
Thanks

mimran’s picture

Status: Needs work » Needs review
Sachini’s picture

I'm working on 8.1.3 too. Although the patch does modify the breadcrumbs as intended the error in #4 appears. To reproduce the error try clearing cache after the patch is applied.

Anonymous’s picture

FileSize
589 bytes

I've updated the patch to fix the `Undefined offset: 2` error. Also updated code for standards and readability.

sanduhrs’s picture

Status: Needs review » Closed (won't fix)

From my point of view, the breadcrumbs are just fine.
No need to change.

Thanks for the contribution, though.