group not saved in content form

Created on 17 October 2022, over 2 years ago
Updated 24 February 2023, almost 2 years ago

Problem/Motivation

Hello,

when editing any group content, edit or create, I cant save the group value, I can select it, save form, but nothing is on view or edit page later.

using alpha2, tried dev too. usign group v3, beta3 or dev(accordingly)
applied both patches:
https://www.drupal.org/project/entitygroupfield/issues/3315323 πŸ› "Drupal\group\Entity\GroupContent" unexpected error Closed: duplicate
https://www.drupal.org/project/entitygroupfield/issues/3306512 πŸ“Œ Add compatibility with Group v2 and v3 Fixed (breaks when enable module)

when clicking in form on button Add group, gettong this in log:

Error: Call to undefined method Drupal\group\Entity\GroupType::getContentPlugin() ve funkci Drupal\entitygroupfield\Plugin\Field\FieldWidget\EntityGroupFieldWidgetBase::addMoreSubmit() (Ε™Γ‘dek 865 souboru /var/www/sip/modules/entitygroupfield22/src/Plugin/Field/FieldWidget/EntityGroupFieldWidgetBase.php)

Please help me to resolve, its hard blocker for me, in otherwise working group enviroment.
Thank you a lot
BR Whop

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Widgets

Created by

πŸ‡¨πŸ‡ΏCzech Republic whop

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.

  • πŸ‡ΊπŸ‡ΈUnited States dww

    How are you even installing group V3 with this module? We ship with a composer.json that says this:

      "require": {
        "drupal/core": "^8.8 || ^9",
        "drupal/group": "~1.0"
      },
    

    That should prevent you from going to Group V3 (or even V2). It's well-known that this module doesn't with with Group V2 or V3 yet. Or at least, it should be. πŸ˜… I just added a big note to the project page to help draw attention to this fact. That's what πŸ“Œ Add compatibility with Group v2 and v3 Fixed is for.

    Marking this duplicate. If you've used the latest code in the merge request at 3306512 and things still aren't working, please reply about it with details over there. Thanks!

Production build 0.71.5 2024