- Issue created by @haemishm
- πΊπΈUnited States dcam
I'm able to reproduce the issue. I just happen to have a site with a timeline that hadn't been updated to 10.4.0 yet. I'll work on a fix.
- πΊπΈUnited States dcam
It looks like the nature of the problem is pretty simple. On my site the integration JS (what you copied into the summary) is being loaded before TimelineJS library. So it's trying to call a function that hasn't been loaded yet. It's effectively a dependency problem. I'll patch it ASAP.
- πΊπΈUnited States dcam
Asset ordering was changed in Core. See the change record a https://www.drupal.org/node/3473558 β .
- πΊπΈUnited States dcam
@haemishm I created an MR with a change that fixes the issue for me. Are you able to test the change to verify that it corrects the issue for you too?
- πΊπΈUnited States drupgirl
Ty for the patch it corrects the issue. So nice! Ty.
- πΊπΈUnited States haemishm
I can confirm this fixes my issue. The timeline is displayed correctly with all functionality restored.
- πΊπΈUnited States dcam
Thank you both for testing the change. I granted credit to you for doing that. I'll create a new release shortly.
- π«π·France bessonweb
I don't know if my problem is the same but in a client website, the timeline would not load.
I have update the plugin to the lastest version 4.1.0 but it not fix the bug.
I have changed the line 25 in views_timelinejs.libraries.yml with :
https://cdn.knightlab.com/libs/timeline3/3.8.18/js/timeline.js: {weight: -10, type: external }
It work good now.
It's certainly not the better solution but it do the job.
I hope that can help you to fix this bug.
Thanks!
- πΊπΈUnited States dcam
@bessonweb did you rebuild the cache after updating? I forgot that I intended to make an update function to force a cache rebuild.
Automatically closed - issue fixed for 2 weeks with no activity.