Problem/Motivation
The latest release of gin is incompatible with Drupal 8.8.10.
Steps to reproduce
- Install Drupal 8.8.10 and gin
- Enable gin
Error:
Drupal\Core\Asset\Exception\InvalidLibrariesExtendSpecificationException: The specified library "claro/progress" does not exist. in Drupal\Core\Asset\LibraryDiscoveryCollector->applyLibrariesExtend() (line 149 of core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php).
Proposed resolution
Revert to using classy/progress instead.
Remaining tasks
Create patch.
User interface changes
none.
API changes
none.
Data model changes
none.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | Screen Shot 2020-11-13 at 4.14.53 PM.png | 121.09 KB | acrollet |
| #5 | 3182192-5.patch | 338 bytes | saschaeggi |
Issue fork gin-3182192
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
acrollet commentedI don't know if the claro-specific implementation of progress is necessary for later versions of gin - mainly creating this issue as a placeholder for discussion and a patch.
Comment #3
acrollet commentedComment #4
saschaeggiMoving back to the classy loader is not an option ;-)
But I think we can integrate the Claro loader library directly into Gin to fix this issue.
Comment #5
saschaeggiHey @acrollet
I did test this with 8.9 & 9.0.x again and it seems we don't need this after all.
Can you try if this patch works for you on 8.8 as well?
Cheers
Comment #6
acrollet commentedThanks so much for the quick response and solution! Validated that the patch in #5 is working with 8.8.10:
Comment #8
saschaeggi@acrollet thanks for reporting & testing!