- Issue created by @aleix
I am trying to understand if I am doing something wrong.
I am applying this recipe:
name: 'group recipe test'
description: 'Initial configuration to provide a group type.'
type: 'Site'
install:
- group
- group_roles_test
config:
import:
group: '*'
group_roles_test: '*'
That will install group and this test module : https://gitlab.com/aleixq/group_roles_test . And also, if I understand correctly, in theory, will import "group" module config, that is a requirement for group_roles_test module... But this don't happen: the config "field.storage.group_relationship.group_roles" in group module is not yet imported when group_roles_test module "group.type.test" config is imported.
The dependence is not direct because is there as a result of the post-save logic whenever a group type is created to autocreate the roles.
So it makes me see that group types must depend on - field.storage.group_relationship.group_roles (and in group module if outside of group realm).
After setting this dependence in group.type.test the recipe runs as it should.
Active
3.3
Code