- 🇫🇷France andypost
Getting reproducible issue with newer
libxml
on the latest Debianbookworm
(drupal-ci image for PHP 8.3) 📌 TextSummaryTest:testLength() fails on some libxml versions Closed: outdated
We are currently working on a project where we have decided to upgrade to ckeditor5 from the get go. Our tests have started failing recently on our CI while still passing locally. Both sites had the same config & code.
After doing some digging I saw my local PHP version was 8.0.15 & CI was 8.0.19. I updated my PHP version locally to 8.0.19 and I was able to get the error there as well. It seems cause of the error is somewhere between PHP 8.0.15 & 8.0.19. This is why I've put a very specific PHP version in the title. 😅
Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: The "ckeditor5_alignment" CKEditor 5 plugin definition has a value at "drupal.elements.0" that is not an HTML tag with optional attributes: "<$text-container class="text-align-left text-align-center text-align-right text-align-justify">". Expected structure: "<tag allowedAttribute="allowedValue1 allowedValue2">". in Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition->validateDrupalAspects() (line 146 of core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php).
Identify cause between PHP 8.0.15 - 8.0.19
Fix
All
N/A
N/A
N/A
N/A
Fixed
9.3
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Getting reproducible issue with newer libxml
on the latest Debian bookworm
(drupal-ci image for PHP 8.3)
📌
TextSummaryTest:testLength() fails on some libxml versions
Closed: outdated