-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
4.6 RC4
I have "long" and non mandatory parameters for a user directory (store in user-populations.xml file)
As they are not mandatory, they can be empty. There are stored such as;
<runtime.users.jdbc.strong.password.min-lowercase/>
But when reading the XML file, the population is in error:
org.apache.avalon.framework.configuration.ConfigurationException: The population of id 'membres-espaces-projets' declares a user directory model with id 'org.ametys.plugins.core.user.directory.Jdbc' but the parameter 'runtime.users.jdbc.strong.password.min-lowercase' is missing. This user directory will be ignored. at org.ametys.core.user.population.UserPopulationDAO._getUDParametersFromConfiguration(UserPopulationDAO.java:1395) at org.ametys.core.user.population.UserPopulationDAO._configureUserDirectories(UserPopulationDAO.java:1308)
Empty value is not permitted. I have no choice to set my parameter as mandatory.
I suppose this is the same for configuration parameters.
- blocks
-
RUNTIME-3796 Strong password parameters of type "long" no longer need to be mandatory
- Closed