- Issue created by @lorseau
DOMPurify library path - inconsistent capitalization https://www.drupal.org/project/colorbox/issues/3314730 🐛 DOMPurify library path - inconsistent capitalization Needs work
Hello,
My Drupal version is 9.4.8
After updating the module from v 2.0.3 to v 3.0.0 and after a drush cr, I get this error:
Error message
Warning: file_get_contents(libraries/dompurify/dist/purify.min.js): Failed to open stream: No such file or directory in _locale_parse_js_file() (line 1114 of core/modules/locale/locale.module).
_locale_parse_js_file('libraries/dompurify/dist/purify.min.js') (Line: 549)
locale_js_translate(Array) (Line: 509)
locale_js_alter(Array, Object, NULL) (Line: 562)
Drupal\Core\Extension\ModuleHandler->alter('js', Array, Object) (Line: 277)
Drupal\Core\Asset\AssetResolver->getJsAssets(Object, ) (Line: 319)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAssetLibraries(Object, Array) (Line: 158)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments(Object) (Line: 94)
Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments(Object) (Line: 45)
Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object, 'kernel.response', Object)
call_user_func(Array, Object, 'kernel.response', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.response') (Line: 192)
Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object, Object, 1) (Line: 180)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Active
3.0
Code
DOMPurify library path - inconsistent capitalization https://www.drupal.org/project/colorbox/issues/3314730 🐛 DOMPurify library path - inconsistent capitalization Needs work