-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
6.1.2
-
None
Reproduce
- Create let's say 2 websites having 2 root pages like this example "/mygroup" and "/mygroupvn" pages
- Then configure group mapping as described from our docs here. Note that let's say group "ga" map to "/mygroup" and "vn" map to "/mygroupvn" for example.
Expected
System send notifications to the right users in group
Actual
Once publisher in "vn" group publish content, it send notification to users in "ga" group.
Workaround
Reorder the group mappings so the more specific path is checked first.
Notes
- Issue may caused by below matching which uses "startsWith" operation in our GroupMappingAwareParameterResolver::getGroups (code here)
- However "startsWith" is needed to catch all subpaths of the configured path. We cannot simply switch to "equals" because then all subpaths would fall into the default case.
Acceptance criteria