Error when exporting data using wxt_ext_groups

Created on 27 April 2022, almost 3 years ago
Updated 28 October 2023, over 1 year ago

Problem/Motivation

I have drupal/views_data_export installed on my site, as well as ext_ext_groups. When I attach a VDE view to my /admin/content view and try to export I get the following error:

The website encountered an unexpected error. Please try again later.Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 143 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).

group_query_entity_query_alter(Object) (Line: 261)
group_query_views_entity_query_alter(Object, NULL, NULL) (Line: 540)
The issue is coming from the drupal/group module (dependency of wxt_ext_groups module), from the group_query_entity_query_alter() function. The related ticket describes the issue, but basically the function needs to check if $entity_type_id is a string first. This error might also happen in other instances, so would be good to fix in WxT.

Steps to reproduce

Fresh install of WxT, enable the wxt_ext_groups module. Install VDE module and attach an export display to /admin/content. Try to export this view and see error.

Proposed resolution

Patch drupal/group module.
🐛 Bug report
Status

Closed: works as designed

Version

4.4

Component

Miscellaneous

Created by

🇨🇦Canada smulvih2 Canada 🍁

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Closed: works as designed over 1 year ago
  • 🇨🇦Canada sylus

    I think this problem is no longer under our purview and the match for views_data_export which we don't bundle by default does have a patch which seems to correct the issue.

    I did just update group to v1.6 until we can find time to jump to the v3 version of it.

Production build 0.71.5 2024