Details
-
Improvement
-
Resolution: Unresolved
-
High
-
None
-
2013.09
-
None
-
based on latest version of ezpublish-community (master).
Description
i got this configuration in my ezpublish.yml
ezpublish: siteaccess: default_siteaccess: trainer list: - trainer - training - eng - backoffice groups: ezdemo_site_clean_group: - trainer - training - eng - backoffice frontoffice: - trainer - training match: URIElement: '1' system: ezdemo_site_group: database: type: mysql user: root password: root server: localhost database_name: e-learning_sauv languages: - eng-GB var_dir: var/ezdemo_site
I defined a group named ezdemo_site_clean_group but i defined my database information for a group named ezdemo_site_group
With this config, i got this error when loading homepage :
The value '' that you were trying to assign to parameter 'dbParams' is invalid. Allowed values are: string or array.
This error is raised when trying to resolve the urlalias (in vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Routing/Generator/UrlAliasGenerator.php l161, function getPathPrefixByRootLocationId())
Is it possible to catch the mispelling group when compiling yml files or at a high level and raise an error that will tell everybody something more verbose
Thanks