- Merge request !51Issue #3547091: Update deprecated 'system.css_js_query_string' method when making cache bust parameter β (Merged) created by Unnamed author
In Drupal 11, the JS assets used by H5P try to add a cache busting URL parameter, but the deprecated method always returns a '0', which results in URL paths like /modules/contrib/h5p/vendor/h5p/h5p-core/js/h5p-event-dispatcher.js?0=
. Since the cache bust param is always the same, it won't actually bust the cache.
?0=
parameter appended.Replace all uses of Drupal::state()->get('system.css_js_query_string', '0')
with calls to \Drupal::service('asset.query_string')->get()
Update the following lines:
None
None
None
Active
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.