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

excluded_uri_prefixes throwing 503

    XMLWordPrintable

Details

    Description

      If you try to add the following configuration in you ezpublish.yml file

      ezpublish:
          system:
              ezdemo_site_group:
                  content:
                      tree_root:
                          # Root locationId. Default is top locationId
                          location_id: 123
                          # Every URL aliases starting with those prefixes will be considered 
                          # being outside of the subtree starting at root_location.
                          # Default value is an empty array.
                          # Prefixes are not case sensitive.
                          excluded_uri_prefixes: [ /media, /images ]
      

      I'll get the following error in the /var/log/httpd/error_log file

      [Wed Jun 05 14:29:51 2013] [error] [client 192.168.2.204] PHP Fatal error:  Uncaught exception 'Symfony\\Component\\Config\\Definition\\Exception\\InvalidConfigurationException' with message 'Unrecognized options "0, 1" under "ezpublish.system.new.content.tree_root.excluded_uri_prefixes"' in /var/www/apache2php53/ezp51/vendor/symfony/symfony/src/Symfony/Component/Config/Definition/ArrayNode.php:316\nStack trace:\n#0 /var/www/apache2php53/ezp51/vendor/symfony/symfony/src/Symfony/Component/Config/Definition/BaseNode.php(268): Symfony\\Component\\Config\\Definition\\ArrayNode->normalizeValue(Array)\n#1 /var/www/apache2php53/ezp51/vendor/symfony/symfony/src/Symfony/Component/Config/Definition/ArrayNode.php(308): Symfony\\Component\\Config\\Definition\\BaseNode->normalize(Array)\n#2 /var/www/apache2php53/ezp51/vendor/symfony/symfony/src/Symfony/Component/Config/Definition/BaseNode.php(268): Symfony\\Component\\Config\\Definition\\ArrayNode->normalizeValue(Array)\n#3 /var/www/apache2php53/ezp51/vendor/symfony/symfony/src/Symfony/Component/Config/Definition/ArrayNode.php(308): Symfony\\Component\\Config\\Definition in /var/www/apache2php53/ezp51/vendor/symfony/symfony/src/Symfony/Component/Config/Definition/ArrayNode.php on line 316
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            pedro.resende-obsolete@ez.no Pedro Resende (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 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 - 2 hours, 30 minutes
                2h 30m