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

Warning in LocationId Matcher if Content has no Location

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • None
    • None
    • None
    • None

    Description

      If you use the Location Id matcher

      ezpublish:
          system:
              default:
                  content_view:
                      embed:
                          file:
                              template: "AppBundle:embed:file.html.twig"
                              match:
                                  Id\Location: 123
      

      and a Content has no location. It throws an warning:

      Notice: Trying to get property of non-object

      Attachments

        Activity

          People

            Unassigned Unassigned
            blankse blankse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: