Uploaded image for project: 'Publication Task Configuration'
  1. Publication Task Configuration
  2. PUBTSKCONF-6

DOC: warn about potential path conflicts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • None
    • 6.1.2
    • None

      Reproduce

      1.  Create let's say 2 websites having 2 root pages like this example "/mygroup" and "/mygroupvn" pages
      2.  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

              rgange Richard Gange
              viet.nguyen Viet Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 20m
                    20m