-
Bug
-
Resolution: Fixed
-
Critical
-
2.0, 2.1
-
None
A configuration parameter of type "date" is rendered correctly in the configuration screen, but cannot be saved:
java.lang.IllegalArgumentException: Invalid format: "Mon Jan 10 2011 00:00:00 GMT+010..." at org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:673) at org.ametys.runtime.util.parameter.ParameterHelper.castValue(ParameterHelper.java:137) at org.ametys.runtime.config.ConfigManager.save(ConfigManager.java:587) at org.ametys.runtime.plugins.core.administrator.configuration.SaveConfigAction.act(SaveConfigAction.java:75)
As the configuration is not saved and therefore the parameter never valued, the site can't run.