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
      

        Issue Links

          Activity

          Show
          Jérôme Vieilledent (Inactive) added a comment - Pull-request: https://github.com/ezsystems/ezpublish-kernel/pull/390
          Show
          Jérôme Vieilledent (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/ae69b7fa97f9a74f15ce20e4602ee713459bdb8e

            People

            • Assignee:
              Unassigned
              Reporter:
              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