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
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | 3307942-14.patch | 61.29 KB | ccjjmartin |
Issue fork webform_group-3307942
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
Comment #2
sergey_gabrielyanAny update or fix, what can be used instead of $group_role->isInternal() and inPermissionsUI() methods?
Comment #3
jrockowitz commentedComment #4
heddnGroup 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.
Comment #5
heddnThis 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.
Comment #6
heddnComment #7
heddnComment #8
heddnThis needs #3328929 applied. #3328924 already landed. I've worked around #3329720.
Comment #9
heddnComment #11
heddnComment #12
heddnComment #14
heddnComment #16
ccjjmartin commentedReroll latest patch fixing composer.json and info.yml conflicts around d10 upgrade.
Comment #18
ccjjmartin commentedIn order to get composer to install all of these modules with dependencies I dropped this into my composer.json:
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.
Comment #20
heddn