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

Template exception when editing policies with no node and subtree limitation

    XMLWordPrintable

Details

    Description

      When editing limitations for a policy that can have Node and Subtree limitations, but doesn't, Twig throws this exception:

      request.CRITICAL: Uncaught PHP Exception Twig_Error_Runtime: "An exception has been thrown during the rendering of a template ("Could not find 'location' with identifier ''")." at /var/www/html/project/ezplatform/vendor/ezsystems/repository-forms/bundle/Resources/views/Limitation/udw_limitation_value.html.twig line 14 {"exception":"[object] (Twig_Error_Runtime(code: 0): An exception has been thrown during the rendering of a template (\"Could not find 'location' with identifier ''\"). at /var/www/html/project/ezplatform/vendor/ezsystems/repository-forms/bundle/Resources/views/Limitation/udw_limitation_value.html.twig:14, eZ\\Publish\\Core\\Base\\Exceptions\\NotFoundException(code: 404): Could not find 'location' with identifier '' at /var/www/html/project/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Location/Gateway/DoctrineDatabase.php:84)"} []
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            gunnstein.lye@ibexa.co Gunnstein Lye
            Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 4 hours
                4h