Details

      Description

      test case:

      setup the ezpublish.yml with a matcher such as:

              match:
                  Map\URI:
                      eng: eng
                      the_admin: the_admin
      

      with this configuration, the result is these broken behaviors:

      • content that begins with the same string as the siteaccess will result in a kernel error.
        example: site.host.name/eng/eng-content
      • the siteaccess name is repeatable. for example, given an object named "test", these are accepted urls:
        • site.host.name/eng/test
        • site.host.name/eng/eng/test
        • site.host.name/eng/eng/eng/eng/eng/test
          they all point to the same object
      • usage of twig operator path( location ) or other other path() variants with a location where the url has this structure:
        site.host.name/<SA_name>/<string that includes SA_name>, will result in urls lacking the <SA_name> part.
        example: calling a path(...) for an object with url:
        site.host.name/eng/an-eng-article
        will result in a url:
        site.host.name/an-eng-article

        Issue Links

          Activity

          Show
          Jérôme Vieilledent (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/571
          Show
          Jérôme Vieilledent (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/cd0aeda6fee2e204facb1298730ff6903cf42799
          Hide
          Joao Pingo (Inactive) added a comment -

          QA Approved

          Show
          Joao Pingo (Inactive) added a comment - QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Bras (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours
                7h