Problem/Motivation

The website encountered an unexpected error. Please try again later.

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "group_content" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 139 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).

Steps to reproduce

new install drupal: ^9 || ^8
new install webform ( ^6.x )
new install group module ( version 3.x )

when you install webform_group module and want to add new form or build your form or do some thing with your form, it appears.

Proposed resolution

as group module developer said here. they change their
naming pattern from "group_content" to "group_relationship" so this error appears.

I change the naming pattern in webform_group module from "group_content" to "group_relationship" and error were gone.

Remaining tasks

there is another problem with it and that is group version 3 module change their permission scenario and they use flexible_permissions. also they change their role scenario. so we should change some thing in webform_group module code to integrate them like before.

User interface changes

API changes

Data model changes

Command icon 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

sgarsivaz created an issue. See original summary.

sergey_gabrielyan’s picture

Any update or fix, what can be used instead of $group_role->isInternal() and inPermissionsUI() methods?

jrockowitz’s picture

Project: Webform » Webform Group
Version: 6.2.0-beta2 » 1.0.x-dev
heddn’s picture

Title: The "group_content" entity type does not exist. » Group v3 support (and Drupal 10)
Category: Bug report » Task

Group v3 and webform_group (as a sub-module in webform and v1 as a distinct module) do not work together. A v3 of the distinct module is in the works, which will support Drupal 10 and group v3. The v2 version of this module will have to wait on community interest to build it.

heddn’s picture

StatusFileSize
new60.44 KB

This is still a work in progress. There needs to be some patches still against group (v2/v3) and webform (6.2.x) before all will start working. And there are still some failures in various tests. Plus, this needs some manual testing. No upgrade path is available right now. So the token support and any group role permissions wouldn't really work without manually updating webforms. But some things are passing tests. This is getting closer.

heddn’s picture

heddn’s picture

heddn’s picture

Status: Active » Needs review
Related issues: +#3329720: Group::getMembers() returns empty for syncronized roles
StatusFileSize
new22.04 KB
new62 KB

This needs #3328929 applied. #3328924 already landed. I've worked around #3329720.

heddn’s picture

StatusFileSize
new695 bytes
new62.07 KB

Status: Needs review » Needs work

The last submitted patch, 9: 3307942-9.patch, failed testing. View results

heddn’s picture

Status: Needs work » Needs review
StatusFileSize
new62.07 KB
heddn’s picture

StatusFileSize
new62.07 KB

Status: Needs review » Needs work

The last submitted patch, 12: 3307942-12.patch, failed testing. View results

heddn’s picture

Status: Needs work » Needs review
StatusFileSize
new62.08 KB

Status: Needs review » Needs work

The last submitted patch, 14: 3307942-13.patch, failed testing. View results

ccjjmartin’s picture

StatusFileSize
new61.29 KB

Reroll latest patch fixing composer.json and info.yml conflicts around d10 upgrade.

ccjjmartin’s picture

In order to get composer to install all of these modules with dependencies I dropped this into my composer.json:

        {
            "type": "package",
            "package": {
                "name": "drupal/webform_group",
                "type": "drupal-module",
                "version": "1.0.0",
                "source": {
                    "url": "https://git.drupalcode.org/issue/webform_group-3307942.git",
                    "type": "git",
                    "reference": "3307942-group-v3-support"
                }
            }
        },

NOTE: I just picked a version number (1.0.0), this could likely be improved and if it conflicts with anything else I will need to clear my composer cache later.

  • heddn committed 32852d8b on 3.0.x
    Issue #3307942 by heddn, ccjjmartin: Group v3 support (and Drupal 10)
    
heddn’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.