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

Undefined variable $matcher + matcher should be mandatory in config?

    XMLWordPrintable

Details

    Description

      Undefined variable:

      Notice: Undefined variable: matcher in /var/www/html/ezsummerbeer/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Matcher/AbstractMatcherFactory.php line 146 
      

      When you ommit the `match` key in the following config:

      ez_publish:
          system:
              # ...
              beer_frontend_group:
                  location_view:
                      full:
                          beer:
                              template: "EzSummerBeerSiteBundle:full:beer.html.twig"
                              # match: should be here
      

      This error should be handled and the `match` key should be validated in the Configuration class I think.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dantleech dantleech
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: