Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The update of the search_api module from 8.x-1.0-beta3 to 8.x-1.0-beta4 causes many Paragraphs tests to fail.
Namely:
Paragraphs.Drupal\paragraphs_demo\Tests\ParagraphsDemoTest.testConfigurationsAndCreation
Paragraphs.Drupal\paragraphs_demo\Tests\ParagraphsDemoTest.onConfigSave
Paragraphs.Drupal\paragraphs_type_permissions\Tests\ParagraphsTypePermissionsTest.testAnonymousParagraphsTypePermissions
Paragraphs.Drupal\paragraphs_type_permissions\Tests\ParagraphsTypePermissionsTest.onConfigSave
Paragraphs.Drupal\paragraphs\Tests\ParagraphsUninstallTest.testUninstall
Paragraphs.Drupal\paragraphs\Tests\ParagraphsUninstallTest.onConfigSave
Paragraphs.Drupal\paragraphs\Tests\ParagraphsTranslationTest.testParagraphTranslation
Paragraphs.Drupal\paragraphs\Tests\ParagraphsTranslationTest.onConfigSave
Paragraphs.Drupal\paragraphs\Tests\ParagraphsAccessTest.testParagraphAccessCheck
Paragraphs.Drupal\paragraphs\Tests\ParagraphsAccessTest.onConfigSave
Proposed resolution
Remaining tasks
Find the cause and fix it.
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#3 | search_api_update-2841069-3.patch | 1.15 KB | ModernMantra |
Comments
Comment #2
VladimirMarko CreditAttribution: VladimirMarko at MD Systems GmbH commentedComment #3
ModernMantra CreditAttribution: ModernMantra at MD Systems GmbH for MD Systems GmbH commentedSeems that
search_api.index.paragraphs_demo_index.yml
had different structure that conflicted since plugin id was dropped in search_api.Comment #4
BerdirLooks good.
collect_demo probably need the same fix and maybe other projects too if we have search_api integrations there, maybe core_crm? Not sure...
Comment #6
miro_dietikerCommitted, thx.
Comment #7
VladimirMarko CreditAttribution: VladimirMarko at MD Systems GmbH commentedThese two lines are unnecessary.
They have no equivalent in the original configuration file and it works fine without them.