Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31644

Compound SiteAccess matcher usage results in serializing error

    XMLWordPrintable

    Details

      Description

      When the Compound SiteAccess matcher is in use, there is no way to visit SA that is matched by it.

      Steps to reproduce:
      1. Create a clean installation of eZ Platform.
      2. Add the following example configuration for Compound Matcher:

      match:
          Compound\LogicalAnd:
                admin:
                    matchers:
                        Map\URI: { admin: true }
                        Map\Host: { www.example.com: true }
                    match: admin
      

      3. Access http://www.example.com/admin
      4. Try to log in.

      Result:
      You will be presented with the following error after logging in:

      An exception has been thrown during the rendering of a template ("A circular reference has been detected when serializing the object of class "ContainerE6o91dj\appDevDebugProjectContainer" (configured limit: 1).").

      The same configuration in v3 results in:

      Attempted to call an undefined method named "setIgnoredAttributes" of class "Symfony\Component\Serializer\Normalizer\PropertyNormalizer".

      Expected result:
      You should be able to use BO without problems.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              konrad.oboza@ez.no Konrad Oboza
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: