- Issue was unassigned.
- Status changed to Needs review
about 1 year ago 8:34am 3 November 2023 - Merge request !8Issue #3301896: Fixed error if view can't be rendered. β (Open) created by gslexie
- Status changed to RTBC
7 months ago 10:41pm 24 April 2024 - πΊπΈUnited States gslexie
I tested the following steps:
- I installed a fresh Drupal instance with demo_umami profile
- I added added drupal/insert_view to the project and enabled the module
- Created a Content view with a single contextual filter on node ID, with a default value "Content ID from URL"
- Add the insert_view filter the the basic HTML text format
- Create a new basic page and add [view:test_view] to the body text
- Run cron to rebuild the search index
Confirmed, when running cron to build the search index, I crash with the same TypeError cited here.
I then added the patch:
"patches": { "drupal/insert_view": { "search": "https://git.drupalcode.org/project/insert_view/-/merge_requests/8.patch" } },
I can confirm that the patch resolved the error during cron run.
- π¨π΄Colombia diegoluisr
This patch solves an issue related to search_api_solr module too, before the patch full text rendering was failing, making those fields rendering empty.