Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the definition of GroupContent entity, the gid(Parent group) base field is not defined as required. But from the logic it should be required. One consequence of it is that there no way to specify the group when using Rules module to create a group content, because the Rules module only allows to specify the required base fields in creating entity(in this case the Group Content entity) action.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2937037_1_gid-required.patch | 630 bytes | qichanghai |
|
Comments
Comment #2
qichanghai CreditAttribution: qichanghai commentedComment #3
idebr CreditAttribution: idebr at ezCompany commentedThis will make Group forward compatible with #2841291: Fix NOT NULL handling in the entity storage and 'primary key' changes when updating the storage definition of an identifier field
Comment #4
JimSmith CreditAttribution: JimSmith commentedThe patch applied as expected and I didn't find any errors.
Comment #6
kristiaanvandeneyndeGood catch!