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

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2014.07, 5.3.2.1, 5.4-dev
    • Fix Version/s: 5.3.3, 2014.11, 5.4.0-beta1
    • Component/s: Platform stack
    • Labels:
      None

      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

            Assignee:
            Unassigned
            Reporter:
            dantleech Daniel Leech
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: