Hello
i have the newest Version of Drupal and the Breadcrumbs hangs.
When i click at fist on a article the Breadcrumb is correct. But then on the next article comes the old Breadcrumb.
It hangs.
Cache is not activated.
It is a fresh Drupal 8 with no changes.
And i have testet it with simplytest.me.
And with the newest Dev Version of the Theme.
Then i have test it with a other Theme (Bootstrap Theme) and the Breadcrumbs not hangs.
At first install Drupal no canges. A fresh Drupal.





Then write two article.









The install a Theme with Breadcrumbs. I test it with the Theme from https://www.drupal.org/project/nexus. But it's the same with other Themes.


Then open post 2.


Article 2. is opened.
All ok it stands 2 in the Breadcrumb
Then open first Article (1.)


And you see it is false. Ist must be 1 in the Breadcrumb. The Cache is not of Drupal is not activated. But when you clear the Cache the first oppened Breadcrumb is ok but the it comes the same.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | after-patch.png | 49.96 KB | yogeshmpawar |
| #8 | before-patch.png | 50.26 KB | yogeshmpawar |
| #7 | 2936568-7.patch | 549 bytes | dipakmdhrm |
Comments
Comment #2
rothlive commentedComment #3
rothlive commentedComment #4
jfurnas commentedI can confirm that this is an issue. I was coming here to create an issue myself and noticed it.
Comment #5
Deepika.chavan commentedHi,
I fixed this issue by adding following line in 'nexus.theme' file:
$variables['#cache']['contexts'][] = 'url';i.e. I changed
to
Hope that helps!!
Regards,
Deepika Chavan
Comment #6
FlorianLeoC commentedThanks Deepika Chavan - works for my installation, so far
Comment #7
dipakmdhrm commented@Deepika Chavan: Thank you for the suggestion. Good catch on the missing cache context!
I've created a patch based on it.
Comment #8
yogeshmpawarI have manually apply the patch & tested the patch. it is working as expected.
so marking this issue as "RTBC" & also adding the screenshots.
Comment #10
dipakmdhrm commentedMarking as fixed! Thank you everyone for your help.
Comment #11
rothlive commentedGreat !
@ Deepika.chavan thank you for the Help. And everyone other.